diff -r f0312c7d5b37 -r ba6c248cae19 test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/general_functions/GF08/gf08t001/TestDriver.java --- a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/general_functions/GF08/gf08t001/TestDriver.java Wed Nov 13 11:21:15 2019 +0100 +++ b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/general_functions/GF08/gf08t001/TestDriver.java Wed Nov 13 11:37:29 2019 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2018, 2019, Oracle and/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 @@ -44,9 +44,9 @@ * First time, with "setVerboseMode=yes" agent mode. Second * time, with "setVerboseMode=no" agent mode and with * "-verbose:gc" VM option. In both cases the output is - * searched for 'Full GC' string, unless ExplicitGCInvokesConcurrent - * is enabled and G1 or CMS GCs are enbled. If ExplicitGCInvokesConcurrent and - * either G1 or CMS GCs are enbled the test searches for 'GC' string in output. + * searched for 'Pause Full' string, unless ExplicitGCInvokesConcurrent + * is enabled and G1 is enabled. If ExplicitGCInvokesConcurrent and + * G1 is enabled the test searches for 'GC' string in output. * The test fails if this string is not found in the output. * COMMENTS * @@ -70,18 +70,17 @@ sun.hotspot.WhiteBox wb = sun.hotspot.WhiteBox.getWhiteBox(); Boolean isExplicitGCInvokesConcurrentOn = wb.getBooleanVMFlag("ExplicitGCInvokesConcurrent"); Boolean isUseG1GCon = wb.getBooleanVMFlag("UseG1GC"); - Boolean isUseConcMarkSweepGCon = wb.getBooleanVMFlag("UseConcMarkSweepGC"); Boolean isUseZGCon = wb.getBooleanVMFlag("UseZGC"); Boolean isShenandoahGCon = wb.getBooleanVMFlag("UseShenandoahGC"); Boolean isUseEpsilonGCon = wb.getBooleanVMFlag("UseEpsilonGC"); if (Compiler.isGraalEnabled() && - (isUseConcMarkSweepGCon || isUseZGCon || isUseEpsilonGCon || isShenandoahGCon)) { + (isUseZGCon || isUseEpsilonGCon || isShenandoahGCon)) { return; // Graal does not support these GCs } String keyPhrase; - if ((isExplicitGCInvokesConcurrentOn && (isUseG1GCon || isUseConcMarkSweepGCon)) || isUseZGCon || isShenandoahGCon) { + if ((isExplicitGCInvokesConcurrentOn && isUseG1GCon) || isUseZGCon || isShenandoahGCon) { keyPhrase = "GC"; } else { keyPhrase = "Pause Full";