RFR: JDK-8273979: move some os time related functions to os_posix for POSIX platforms [v2]
Matthias Baesken
mbaesken at openjdk.java.net
Wed Sep 22 08:21:11 UTC 2021
On Wed, 22 Sep 2021 08:13:57 GMT, Lutz Schmidt <lucy at openjdk.org> wrote:
> My previous comment about clock_ticks_per_sec is obsolete. Just saw the initialisation in os::Posix::init(void) now is the same as in os::init(). The static init value is in effect only for the short time until os::init() is invoked.
> Looks good to me.
Hi Lutz, thanks for the review .
In case of worries about the short time frame between posix and linux init functions, we could introduce 'os::clock_ticks_per_sec()' and move this to os_linux, os_aix os_bsd etc. to have the initialization at one single point.
Not sure if this is worth the effort?
Best regards, Matthias
-------------
PR: https://git.openjdk.java.net/jdk/pull/5582
More information about the hotspot-runtime-dev
mailing list