Loading... (original) (raw)

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 in

JDK-8174231

back in May of 2017. It may be time to remove the temporary duplication before it gets all to permanent.