Integrated: 8342041: Test gc/shenandoah/oom/TestClassLoaderLeak.java slow on Windows after JDK-8340490
Xiaolong Peng
xpeng at openjdk.org
Tue Nov 19 20:21:52 UTC 2024
On Sat, 16 Nov 2024 00:11:39 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
This pull request has now been integrated.
Changeset: cd45ba32
Author: Xiaolong Peng <xpeng at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/cd45ba32f026ba3827d18836cab37a73f59346ed
Stats: 6 lines in 2 files changed: 0 ins; 0 del; 6 mod
8342041: Test gc/shenandoah/oom/TestClassLoaderLeak.java slow on Windows after JDK-8340490
Reviewed-by: shade, wkemper
-------------
PR: https://git.openjdk.org/jdk/pull/22172
More information about the shenandoah-dev
mailing list