On Wed, 24 Sep 2025 15:30:27 GMT, Matthias Baesken <[email protected]> wrote:
> 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 from librt e.g. in JFR > and these are _really_ in librt so the comment should be adjusted. This pull request has now been integrated. Changeset: 7bfdb012 Author: Matthias Baesken <[email protected]> URL: https://git.openjdk.org/jdk/commit/7bfdb0120752d01da96c19e8037a6e909847d63c Stats: 5 lines in 1 file changed: 0 ins; 4 del; 1 mod 8368565: Adjust comment regarding dependency of libjvm.so to librt Reviewed-by: dholmes ------------- PR: https://git.openjdk.org/jdk/pull/27473
