changeset 27297:66aa15bcceff

8146889: Update @requires expression for GC tests to run if GC is default Reviewed-by: tschatzl, jwilhelm
author dfazunen
date Tue, 12 Jan 2016 21:17:13 +0400
parents d87d1df270bf
children 7289bce381de 5a375300c073
files test/gc/arguments/TestInitialTenuringThreshold.java test/gc/arguments/TestObjectTenuringFlags.java
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/gc/arguments/TestInitialTenuringThreshold.java	Wed Jan 13 11:43:07 2016 +0300
+++ b/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/test/gc/arguments/TestObjectTenuringFlags.java	Wed Jan 13 11:43:07 2016 +0300
+++ b/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