RFR: 8339730: Windows regression after removing ObjectMonitor Responsible

Julian Waters jwaters at openjdk.org
Wed Oct 9 07:36:56 UTC 2024


On Fri, 4 Oct 2024 13:19:49 GMT, Fredrik Bredberg <fbredberg at openjdk.org> wrote:

> In order to mitigate the regression seen on windows I added calls to enable hi res timer resolution around the call to WaitForSingleObject, when doing infinite parking. Got some good results, like these:
> 
> DaCapo23-tomcat-large 87.11%
> DaCapo23-spring-large 38.25%
> Renaissance-Reactors 10.34%
> DaCapo-h2-large 10.00%
> 
> Tested ok on tier1-7 on windows-x64

Had to look through the code for HighResolutionInterval for this one. Thanks for the refresher, it's been a while since I've written some code for the JDK!

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

Marked as reviewed by jwaters (Committer).

PR Review: https://git.openjdk.org/jdk/pull/21357#pullrequestreview-2356295956


More information about the hotspot-runtime-dev mailing list