8233792: TestG1ParallelPhases.java fails with phase NonYoungFreeCSet not found (2)
Reviewed-by: lkorinth, kbarrett
This commit is contained in:
parent
7c242c709d
commit
d8fa5af9a9
@ -176,6 +176,9 @@ class Provoker {
|
|||||||
public static void provokeMixedGC(int g1HeapRegionSize) {
|
public static void provokeMixedGC(int g1HeapRegionSize) {
|
||||||
final var arraySize = 20_000;
|
final var arraySize = 20_000;
|
||||||
var liveOldObjects = new ArrayList<byte[]>();
|
var liveOldObjects = new ArrayList<byte[]>();
|
||||||
|
|
||||||
|
// Make sure the heap is in a known state.
|
||||||
|
getWhiteBox().fullGC();
|
||||||
allocateOldObjects(liveOldObjects, g1HeapRegionSize, arraySize);
|
allocateOldObjects(liveOldObjects, g1HeapRegionSize, arraySize);
|
||||||
waitTillCMCFinished(10);
|
waitTillCMCFinished(10);
|
||||||
getWhiteBox().g1StartConcMarkCycle();
|
getWhiteBox().g1StartConcMarkCycle();
|
||||||
|
Loading…
Reference in New Issue
Block a user