On Wed, 19 Jun 2024 14:12:13 GMT, Daniel JeliƄski <[email protected]> wrote:

>> src/hotspot/os/windows/os_windows.cpp line 5565:
>> 
>>> 5563:       prd = MAXTIMEOUT;
>>> 5564:     }
>>> 5565:     HighResolutionInterval *phri = nullptr;
>> 
>> @djelinski Is this even used?
>
> yeah, it's the C++ construction where the constructor and the destructor have 
> side effects. It increases the system timer resolution, unless 
> `ForceTimeHighResolution` is set. `ForceTimeHighResolution`, contrary to its 
> name and help text, forces [low timer 
> resolution](https://bugs.openjdk.org/browse/JDK-6435126). Sigh.

Oh. That's.... interesting. 😞

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/19778#discussion_r1646343989

Reply via email to