RFR: 8246112: Remove build-time and run-time checks for clock_gettime and CLOCK_MONOTONIC [v5]

David Holmes david.holmes at oracle.com
Fri Jan 22 22:47:49 UTC 2021


On 22/01/2021 8:13 pm, Thomas Stuefe wrote:
> On Thu, 21 Jan 2021 15:26:43 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:
> 
>>> David Holmes has updated the pull request incrementally with one additional commit since the last revision:
>>>
>>>    Remove the always true os::supports_monotonic_clock()
>>
>> Marked as reviewed by gziemski (Committer).
> 
> Builds fine on AIX. I scheduled tests for the coming nights.
> About os::javaTimeNanos, not sure if we still need that for AIX, but monotonic clocks gave us a lot of grief in the past on that .. platform and I prefer it to leave that way for now. Investigating if we can use clock_gettime for os::javaTimeNanos like Linux does can be done in a separate RFE.

Thanks Thomas. I will wait to hear back from you before finalising this.

David

> -------------
> 
> PR: https://git.openjdk.java.net/jdk/pull/2090
> 


More information about the hotspot-runtime-dev mailing list