RFR: JDK-8273979: move some os time related functions to os_posix for POSIX platforms [v2]
Lutz Schmidt
lucy at openjdk.java.net
Wed Sep 22 08:16:55 UTC 2021
On Tue, 21 Sep 2021 07:01:20 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
>> There are a couple of time related functions in os_<platform> for Linux, BSD+Mac and AIX that are pretty similar (or identical) across the platforms and can be centralized in os_posix .
>> While doing so, I noticed that os::supports_vtime() returns always true , on Posix and also on Windows, so we might remove it completely if this prefered ?
>>
>> Best regards , Matthias
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>
> Restored javaTimeNanos_info in os-files, adjusted clock_tics_per_sec init
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.
-------------
Marked as reviewed by lucy (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/5582
More information about the hotspot-runtime-dev
mailing list