-
Bug
-
Resolution: Fixed
-
P2
-
26
-
master
-
generic
-
linux_alpine
After JDK-8365909 , the Linux Alpine (fast)debug build is broken :
/priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_alpine_x86_64-dbg/jdk/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp: In member function 'bool CompilerThreadTimeoutLinux::init_timeout()':
/priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_alpine_x86_64-dbg/jdk/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp:97:3: error: 'sigevent_t' was not declared in this scope; did you mean 'sigevent'?
97 | sigevent_t sev;
| ^~~~~~~~~~
| sigevent
/priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_alpine_x86_64-dbg/jdk/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp:98:3: error: 'sev' was not declared in this scope
98 | sev.sigev_value.sival_ptr = nullptr;
| ^~~
Probably 'struct sigevent sev' should be used, because sigevent_t seems not to be available on this platform. This is used here
https://github.com/openjdk/jdk/blob/aaff9dec241e4d8eebefd6beaf287582621f315c/src/hotspot/share/jfr/periodic/sampling/jfrCPUTimeThreadSampler.cpp#L625
and seems to be there on Alpine too .
/priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_alpine_x86_64-dbg/jdk/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp: In member function 'bool CompilerThreadTimeoutLinux::init_timeout()':
/priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_alpine_x86_64-dbg/jdk/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp:97:3: error: 'sigevent_t' was not declared in this scope; did you mean 'sigevent'?
97 | sigevent_t sev;
| ^~~~~~~~~~
| sigevent
/priv/jenkins/client-home/workspace/openjdk-jdk-dev-linux_alpine_x86_64-dbg/jdk/src/hotspot/os/linux/compilerThreadTimeout_linux.cpp:98:3: error: 'sev' was not declared in this scope
98 | sev.sigev_value.sival_ptr = nullptr;
| ^~~
Probably 'struct sigevent sev' should be used, because sigevent_t seems not to be available on this platform. This is used here
https://github.com/openjdk/jdk/blob/aaff9dec241e4d8eebefd6beaf287582621f315c/src/hotspot/share/jfr/periodic/sampling/jfrCPUTimeThreadSampler.cpp#L625
and seems to be there on Alpine too .
- caused by
-
JDK-8365909 [REDO] Add a compilation timeout flag to catch long running compilations
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/b43c2c66
-
Review(master) openjdk/jdk/26956