8373022: serviceability/sa/ClhsdbScanOops.java assumes no GC should occur

Reviewed-by: stefank, kevinw
Backport-of: 786833cd1bf8eda1cef25da392a055f4eb371abf
This commit is contained in:
Joel Sikström 2025-12-12 09:31:01 +00:00
parent b0ad331809
commit 85eb6b752e
3 changed files with 5 additions and 5 deletions

View File

@ -140,9 +140,6 @@ serviceability/sa/ClhsdbPstack.java#core 8318754 macosx-aarch64
serviceability/sa/TestJmapCore.java 8318754 macosx-aarch64
serviceability/sa/TestJmapCoreMetaspace.java 8318754 macosx-aarch64
serviceability/sa/ClhsdbScanOops.java#parallel 8373022 generic-all
serviceability/sa/ClhsdbScanOops.java#serial 8373022 generic-all
serviceability/sa/ClhsdbThreadContext.java 8356704 windows-x64
serviceability/jvmti/stress/StackTrace/NotSuspended/GetStackTraceNotSuspendedStressTest.java 8315980 linux-all,windows-x64

View File

@ -60,7 +60,10 @@ public class ClhsdbScanOops {
try {
ClhsdbLauncher test = new ClhsdbLauncher();
theApp = LingeredApp.startApp(gc);
// This test assumes that no GC should happen during its execution.
// Setting the initial heap size to a reasonably high number avoids
// running a GC.
theApp = LingeredApp.startApp(gc, "-XX:InitialHeapSize=100M");
System.out.println ("Started LingeredApp with the GC option " + gc +
" and pid " + theApp.getPid());

View File

@ -716,7 +716,7 @@ javax/swing/plaf/synth/7158712/bug7158712.java 8324782 macosx-all
# jdk_jdi
com/sun/jdi/InvokeHangTest.java 8218463 linux-all
com/sun/jdi/MethodInvokeWithTraceOnTest.java 8373022 generic-all
com/sun/jdi/MethodInvokeWithTraceOnTest.java 8373102 generic-all
############################################################################