8267133: jdk/jfr/event/gc/collection/TestG1ParallelPhases.java fails with Not expected phases: RestorePreservedMarks, RemoveSelfForwardingPtr: expected true, was false

8267218: jdk/jfr/event/gc/collection/TestG1ParallelPhases.java fails with Not found phases\: StringDedupQueueFixup, StringDedupTableFixup

Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Reviewed-by: tschatzl, iwalulya
This commit is contained in:
Albert Mingkun Yang 2021-05-19 11:29:27 +00:00
parent 88b114235c
commit 1b93b81270
2 changed files with 4 additions and 3 deletions

View File

@ -833,7 +833,6 @@ jdk/jfr/event/compiler/TestCodeSweeper.java 8225209 gener
jdk/jfr/event/os/TestThreadContextSwitches.java 8247776 windows-all
jdk/jfr/startupargs/TestStartName.java 8214685 windows-x64
jdk/jfr/startupargs/TestStartDuration.java 8214685 windows-x64
jdk/jfr/event/gc/collection/TestG1ParallelPhases.java 8267133 generic-all
############################################################################

View File

@ -104,8 +104,6 @@ public class TestG1ParallelPhases {
"CodeRoots",
"ObjCopy",
"Termination",
"StringDedupQueueFixup",
"StringDedupTableFixup",
"RedirtyCards",
"RecalculateUsed",
"ResetHotCardCache",
@ -123,6 +121,10 @@ public class TestG1ParallelPhases {
// Some GC phases may or may not occur depending on environment. Filter them out
// since we can not reliably guarantee that they occur (or not).
Set<String> optPhases = of(
// The following two phases only occur on evacuation failure.
"RemoveSelfForwardingPtr",
"RestorePreservedMarks",
"OptScanHR",
"OptMergeRS",
"OptCodeRoots",