-
Bug
-
Resolution: Fixed
-
P4
-
26
-
b18
-
generic
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8369869 | 25.0.2 | Matthias Baesken | P4 | Resolved | Fixed | master |
We have a legacy dependency of libjvm to librt for the clock_* functions :
https://github.com/openjdk/jdk/blob/f993f90c86f89eb0c7f42ebecb45a68eae0bd9ea/make/autoconf/libraries.m4#L139
But this is for very old systems with distros like RHEL 6 or SLES11 with glibc 2.16 or older, where the clock_ functions were still in librt ; but those ancient distros play no role any more for current JDK26.
On the other hand, we now use the timer_* functions (like timer_create, https://docs.oracle.com/cd/E19048-01/chorus5/806-6897/architecture-17/index.html ) from librt e.g. in JFR and these are in librt so the comment should be adjusted.
https://github.com/openjdk/jdk/blob/f993f90c86f89eb0c7f42ebecb45a68eae0bd9ea/make/autoconf/libraries.m4#L139
But this is for very old systems with distros like RHEL 6 or SLES11 with glibc 2.16 or older, where the clock_ functions were still in librt ; but those ancient distros play no role any more for current JDK26.
On the other hand, we now use the timer_* functions (like timer_create, https://docs.oracle.com/cd/E19048-01/chorus5/806-6897/architecture-17/index.html ) from librt e.g. in JFR and these are in librt so the comment should be adjusted.
- backported by
-
JDK-8369869 Adjust comment regarding dependency of libjvm.so to librt
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk25u/1cd8cd8e
-
Commit(master) openjdk/jdk/7bfdb012
-
Review(master) openjdk/jdk25u/305
-
Review(master) openjdk/jdk/27473