mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-22 03:54:33 +02:00
8250888: nsk/jvmti/scenarios/general_functions/GF08/gf08t001/TestDriver.java fails
Reviewed-by: cjplummer, sspitsyn
This commit is contained in:
parent
02adaa5854
commit
5fedb69e66
1 changed files with 7 additions and 5 deletions
|
@ -62,15 +62,17 @@
|
|||
*/
|
||||
|
||||
import sun.hotspot.code.Compiler;
|
||||
import sun.hotspot.WhiteBox;
|
||||
import sun.hotspot.gc.GC;
|
||||
|
||||
public class TestDriver {
|
||||
public static void main(String[] args) throws Exception {
|
||||
sun.hotspot.WhiteBox wb = sun.hotspot.WhiteBox.getWhiteBox();
|
||||
WhiteBox wb = WhiteBox.getWhiteBox();
|
||||
Boolean isExplicitGCInvokesConcurrentOn = wb.getBooleanVMFlag("ExplicitGCInvokesConcurrent");
|
||||
Boolean isUseG1GCon = wb.getBooleanVMFlag("UseG1GC");
|
||||
Boolean isUseZGCon = wb.getBooleanVMFlag("UseZGC");
|
||||
Boolean isShenandoahGCon = wb.getBooleanVMFlag("UseShenandoahGC");
|
||||
Boolean isUseEpsilonGCon = wb.getBooleanVMFlag("UseEpsilonGC");
|
||||
boolean isUseG1GCon = GC.G1.isSelected();
|
||||
boolean isUseZGCon = GC.Z.isSelected();
|
||||
boolean isShenandoahGCon = GC.Shenandoah.isSelected();
|
||||
boolean isUseEpsilonGCon = GC.Epsilon.isSelected();
|
||||
|
||||
if (Compiler.isGraalEnabled() &&
|
||||
(isUseZGCon || isUseEpsilonGCon || isShenandoahGCon)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue