8146889: Update @requires expression for GC tests to run if GC is default

Reviewed-by: tschatzl, jwilhelm
This commit is contained in:
Dmitry Fazunenko 2016-01-12 21:17:13 +04:00
parent 29169fd975
commit 380897b206
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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