8146889: Update @requires expression for GC tests to run if GC is default
authordfazunen
Tue, 12 Jan 2016 21:17:13 +0400
changeset 35488 bca41d0c2a15
parent 35487 7c043e468890
child 35489 368deab8e88b
child 35498 392b50de06c6
8146889: Update @requires expression for GC tests to run if GC is default Reviewed-by: tschatzl, jwilhelm
hotspot/test/gc/arguments/TestInitialTenuringThreshold.java
hotspot/test/gc/arguments/TestObjectTenuringFlags.java
--- a/hotspot/test/gc/arguments/TestInitialTenuringThreshold.java	Wed Jan 13 11:43:07 2016 +0300
+++ b/hotspot/test/gc/arguments/TestInitialTenuringThreshold.java	Tue Jan 12 21:17:13 2016 +0400
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
+* Copyright (c) 2013, 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
@@ -25,7 +25,7 @@
  * @test TestInitialTenuringThreshold
  * @key gc
  * @bug 8014765
- * @requires vm.gc=="Parallel"
+ * @requires vm.gc=="Parallel" | vm.gc=="null"
  * @summary Tests argument processing for initial tenuring threshold
  * @library /testlibrary
  * @modules java.base/sun.misc
--- a/hotspot/test/gc/arguments/TestObjectTenuringFlags.java	Wed Jan 13 11:43:07 2016 +0300
+++ b/hotspot/test/gc/arguments/TestObjectTenuringFlags.java	Tue Jan 12 21:17:13 2016 +0400
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+* Copyright (c) 2014, 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
@@ -25,7 +25,7 @@
  * @test TestObjectTenuringFlags
  * @key gc
  * @bug 6521376
- * @requires vm.gc=="Parallel"
+ * @requires vm.gc=="Parallel" | vm.gc=="null"
  * @summary Tests argument processing for NeverTenure, AlwaysTenure,
  * and MaxTenuringThreshold
  * @library /testlibrary