8385723: Intermittent failure of serviceability/sa/ClhsdbInspect.java

Reviewed-by: kevinw, ayang, lmesnik, syan
This commit is contained in:
Chris Plummer 2026-06-05 16:41:35 +00:00
parent de4657e13b
commit 4ff29cbde4
2 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,6 @@ vmTestbase/vm/mlvm/mixed/stress/regression/b6969574/INDIFY_Test.java 8265295 lin
serviceability/AsyncGetCallTrace/MyPackage/ASGCTBaseTest.java 8303168 linux-all
serviceability/sa/ClhsdbInspect.java 8283578 windows-x64
vmTestbase/vm/mlvm/indy/func/jvmti/mergeCP_indy2manyDiff_a/TestDescription.java 8308367 generic-all
vmTestbase/vm/mlvm/indy/func/jvmti/mergeCP_indy2manySame_a/TestDescription.java 8308367 generic-all
vmTestbase/vm/mlvm/indy/func/jvmti/mergeCP_indy2none_b/TestDescription.java 8308367 generic-all

View File

@ -643,6 +643,8 @@ public class LingeredApp {
crasher.run();
}
}
// Force a GC now to reduce the risk of one happening during the loop below.
System.gc();
while (Files.exists(path)) {
// Touch the lock to indicate our readiness
setLastModified(theLockFileName, epoch());