8365487: [asan] some oops (mode) related tests fail

Reviewed-by: kbarrett, syan
This commit is contained in:
Matthias Baesken 2025-08-14 11:11:47 +00:00
parent 7698c373a6
commit 98f54d90ea
3 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2014, 2025, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -30,6 +30,8 @@
* @modules java.base/jdk.internal.misc
* java.management
* @build jdk.test.whitebox.WhiteBox
* @comment Asan changes memory layout and we get a different coops mode
* @requires !vm.asan
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
* @run main/othervm/timeout=480 -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. UseCompressedOops
*/

View File

@ -35,6 +35,8 @@ import jdk.test.whitebox.WhiteBox;
* @requires vm.gc == "Parallel" | vm.gc == null
* @requires os.family == "linux" | os.family == "windows"
* @requires sun.arch.data.model == "64"
* @comment Asan changes memory layout and we get a different coops mode
* @requires !vm.asan
* @library /test/lib /test/jdk
* @build jdk.test.whitebox.WhiteBox
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox

View File

@ -33,6 +33,8 @@ import jdk.test.lib.jfr.EventVerifier;
* @requires vm.gc == "Parallel" | vm.gc == null
* @requires os.family == "linux" | os.family == "windows"
* @requires sun.arch.data.model == "64"
* @comment Asan changes memory layout and we get a different coops mode
* @requires !vm.asan
* @library /test/lib /test/jdk
* @run main/othervm -XX:+UnlockExperimentalVMOptions -XX:-UseFastUnorderedTimeStamps -XX:+UseParallelGC -XX:+UseCompressedOops -Xmx4g jdk.jfr.event.gc.configuration.TestGCHeapConfigurationEventWithZeroBasedOops
*/