8146889: Update @requires expression for GC tests to run if GC is default
Reviewed-by: tschatzl, jwilhelm
--- 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