< prev index next > test/hotspot/jtreg/gc/shenandoah/TestObjItrWithHeapDump.java
Print this page
/*
* Copyright (c) 2019, Red Hat, Inc. All rights reserved.
+ * Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
System.gc();
System.exit(0);
}
String[][][] modeHeuristics = new String[][][] {
! {{"satb"}, {"adaptive", "compact", "static", "aggressive"}},
! {{"passive"}, {"passive"}}
};
for (String[][] mh : modeHeuristics) {
String mode = mh[0][0];
String[] heuristics = mh[1];
System.gc();
System.exit(0);
}
String[][][] modeHeuristics = new String[][][] {
! {{"satb"}, {"adaptive", "compact", "static", "aggressive"}},
! {{"generational"}, {"adaptive"}},
+ {{"passive"}, {"passive"}}
};
for (String[][] mh : modeHeuristics) {
String mode = mh[0][0];
String[] heuristics = mh[1];
< prev index next >