Some of the clock initialization functionality is duplicated in both os::Linux::init and os::Posix::init. There's a comment in os::Posix::init:
// Copied from os::Linux::clock_init(). The duplication is temporary.
The code in os_posix.cpp was added inJDK-8174231 back in May of 2017. It may be time to remove the temporary duplication before it gets all to permanent.
// Copied from os::Linux::clock_init(). The duplication is temporary.
The code in os_posix.cpp was added in
- relates to
-
JDK-8217843 Performance regression related to os::supports_monotonic_clock() on linux
-
- Resolved
-
-
JDK-8174231 Factor out and share PlatformEvent and Parker code for POSIX systems.
-
- Resolved
-