8319456: jdk/jfr/event/gc/collection/TestGCCauseWith[Serial|Parallel].java : GC cause 'GCLocker Initiated GC' not in the valid causes
Reviewed-by: ayang, iwalulya
This commit is contained in:
parent
7bc8e4c891
commit
7c7f8ea30d
test/jdk/jdk/jfr/event/gc/collection
@ -39,7 +39,7 @@ public class TestGCCauseWithParallelOld {
|
||||
String testID = "ParallelOld";
|
||||
String[] vmFlags = {"-XX:+UseParallelGC"};
|
||||
String[] gcNames = {GCHelper.gcParallelScavenge, GCHelper.gcParallelOld};
|
||||
String[] gcCauses = {"Allocation Failure", "Ergonomics", "System.gc()"};
|
||||
String[] gcCauses = {"Allocation Failure", "Ergonomics", "System.gc()", "GCLocker Initiated GC"};
|
||||
GCGarbageCollectionUtil.test(testID, vmFlags, gcNames, gcCauses);
|
||||
}
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ public class TestGCCauseWithSerial {
|
||||
String testID = "Serial";
|
||||
String[] vmFlags = {"-XX:+UseSerialGC"};
|
||||
String[] gcNames = {GCHelper.gcDefNew, GCHelper.gcSerialOld};
|
||||
String[] gcCauses = {"Allocation Failure", "System.gc()"};
|
||||
String[] gcCauses = {"Allocation Failure", "System.gc()", "GCLocker Initiated GC"};
|
||||
GCGarbageCollectionUtil.test(testID, vmFlags, gcNames, gcCauses);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user