8146728: TestPrintGCDetailsVerbose is never run by jtreg
authorkbarrett
Tue, 16 Feb 2016 21:58:49 -0500
changeset 36173 31a3af05892d
parent 36103 363dc2b4fc1c
child 36174 481391df586b
child 36175 0f5b32ce95fc
8146728: TestPrintGCDetailsVerbose is never run by jtreg Summary: Remove requirement for fastdebug, update logging option Reviewed-by: sjohanss, brutisso, dfazunen
hotspot/test/TEST.ROOT
hotspot/test/gc/parallel/TestPrintGCDetailsVerbose.java
--- a/hotspot/test/TEST.ROOT	Tue Feb 16 12:01:37 2016 -0800
+++ b/hotspot/test/TEST.ROOT	Tue Feb 16 21:58:49 2016 -0500
@@ -1,5 +1,5 @@
 # 
-# Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2005, 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
@@ -30,7 +30,7 @@
 keys=cte_test jcmd nmt regression gc stress
 
 groups=TEST.groups [closed/TEST.groups]
-requires.properties=sun.arch.data.model java.version
+requires.properties=sun.arch.data.model
 
 # Tests using jtreg 4.1 b12 features
 requiredVersion=4.1 b12
--- a/hotspot/test/gc/parallel/TestPrintGCDetailsVerbose.java	Tue Feb 16 12:01:37 2016 -0800
+++ b/hotspot/test/gc/parallel/TestPrintGCDetailsVerbose.java	Tue Feb 16 21:58:49 2016 -0500
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 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
@@ -24,12 +24,11 @@
 /*
  * @test TestPrintGCDetailsVerbose
  * @bug 8016740
- * @summary Tests that jvm with PrintGCDetails and Verbose flags do not crash when ParOldGC has no memory
+ * @summary Tests that jvm with maximally verbose GC logging does not crash when ParOldGC has no memory
  * @key gc
- * @requires java.version ~= ".*fastdebug"
  * @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 {