RFR: 8342041: Test gc/shenandoah/oom/TestClassLoaderLeak.java slow on Windows after JDK-8340490 [v3]
duke
duke at openjdk.org
Tue Nov 19 20:12:49 UTC 2024
On Sat, 16 Nov 2024 19:49:20 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:
>> Fixing the regression on Windows caused by JDK-8340490, the bug is actually caused by different behavior in `os:: os::elapsed_counter()` which I wasn't aware of. Windows doesn't have nanosecond hi-res clock support, so instead of nanoseconds it returns the the current value of the performance counter([link](https://learn.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter)).
>>
>> ### Tests
>> - [x] Verify gc/shenandoah/oom/TestClassLoaderLeak.java on Windows, no regression at all
>> - [x] Run test suites hotspot_gc_shenandoah with linux-aarch64-server-fastdebug
>
> Xiaolong Peng has updated the pull request incrementally with two additional commits since the last revision:
>
> - Revert all the changes not related to the bug fix
> - Simplify pace_for_alloc
@pengxiaolong
Your change (at version 19e782c6189e3df68c9a3ebfc6bd8ee5934ee67e) is now ready to be sponsored by a Committer.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22172#issuecomment-2486653685
More information about the hotspot-gc-dev
mailing list