< prev index next >

test/gc/parallel/TestPrintGCDetailsVerbose.java

Print this page
rev 9825 : imported patch fixlog

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2016, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -24,14 +24,14 @@
 /*
  * @test TestPrintGCDetailsVerbose
  * @bug 8016740
  * @summary Tests that jvm with PrintGCDetails and Verbose flags do not crash when ParOldGC has no memory
  * @key gc
- * @requires java.version ~= ".*fastdebug"
+ * @requires jdk.debug ~= ".*debug"
  * @requires vm.gc=="Parallel" | vm.gc=="null"
  * @library /testlibrary
- * @run main/othervm -Xmx50m -XX:+UseParallelOldGC -XX:+PrintGCDetails -XX:+Verbose TestPrintGCDetailsVerbose
+ * @run main/othervm -Xmx50m -XX:+UseParallelGC -Xlog:gc*=trace TestPrintGCDetailsVerbose
  */
 public class TestPrintGCDetailsVerbose {
 
     public static void main(String[] args) {
         for (int t = 0; t <= 10; t++) {
< prev index next >