Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8368565

Adjust comment regarding dependency of libjvm.so to librt

XMLWordPrintable

    • b18
    • generic
    • linux

        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.

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: