[jdk8u-dev] RFR: 8241086: Test runtime/NMT/HugeArenaTracking.java is failing on 32bit Windows
Severin Gehwolf
sgehwolf at openjdk.org
Wed Nov 16 17:52:29 UTC 2022
On Wed, 16 Nov 2022 14:02:48 GMT, zzambers <duke at openjdk.org> wrote:
> Test `hotspot/test/runtime/NMT/HugeArenaTracking.java` (from hotspot/tier1) currently fails on Windows x86. This backport fixes this test to only run on 64-bit archs.
hotspot/test/runtime/NMT/HugeArenaTracking.java line 28:
> 26: * @key nmt jcmd
> 27: * @library /testlibrary /testlibrary/whitebox
> 28: * @requires vm.bits == 64
I don't think this has any effect on JDK 8. AFAIK, `vm.bits` is being set in JDK 11+ via `test/jtreg-ext/requires/VMProps.java` which isn't available in JDK 8. Have you tested this works?
I think something like this would be suitable here:
if (!Platform.is64Bit()) {
System.out.println("Test requires 64 bits. Skipping...");
return;
}
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/182
More information about the jdk8u-dev
mailing list