< prev index next >
test/gc/arguments/TestVerifyBeforeAndAfterGCFlags.java
Print this page
*** 28,47 ****
* @summary Runs an simple application (GarbageProducer) with various
combinations of -XX:{+|-}Verify{After|Before}GC flags and checks that
output contain or doesn't contain expected patterns
* @modules java.base/jdk.internal.misc
* @modules java.management
! * @library /testlibrary
* @run driver TestVerifyBeforeAndAfterGCFlags
*/
import java.util.ArrayList;
import java.util.Collections;
import jdk.test.lib.Utils;
! import jdk.test.lib.OutputAnalyzer;
! import jdk.test.lib.ProcessTools;
public class TestVerifyBeforeAndAfterGCFlags {
// VerifyBeforeGC:[Verifying threads heap tenured eden syms strs zone dict metaspace chunks hand C-heap code cache ]
public static final String VERIFY_BEFORE_GC_PATTERN = "Verifying Before GC";
--- 28,47 ----
* @summary Runs an simple application (GarbageProducer) with various
combinations of -XX:{+|-}Verify{After|Before}GC flags and checks that
output contain or doesn't contain expected patterns
* @modules java.base/jdk.internal.misc
* @modules java.management
! * @library /test/lib
* @run driver TestVerifyBeforeAndAfterGCFlags
*/
import java.util.ArrayList;
import java.util.Collections;
import jdk.test.lib.Utils;
! import jdk.test.lib.process.OutputAnalyzer;
! import jdk.test.lib.process.ProcessTools;
public class TestVerifyBeforeAndAfterGCFlags {
// VerifyBeforeGC:[Verifying threads heap tenured eden syms strs zone dict metaspace chunks hand C-heap code cache ]
public static final String VERIFY_BEFORE_GC_PATTERN = "Verifying Before GC";
< prev index next >