Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8169004: Fix redundant @requires tags in tests #1050

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/TestNUMAPageSize.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @key gc regression
* @summary Make sure that start up with NUMA support does not cause problems.
* @bug 8061467
* @requires (vm.opt.AggressiveOpts == null) | (vm.opt.AggressiveOpts == false)
* @requires vm.opt.AggressiveOpts != true
* @run main/othervm -Xmx128m -XX:+UseNUMA gc.TestNUMAPageSize
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
* @test TestTargetSurvivorRatioFlag
* @key gc
* @summary Verify that option TargetSurvivorRatio affects survivor space occupancy after minor GC.
* @requires (vm.opt.ExplicitGCInvokesConcurrent == null) | (vm.opt.ExplicitGCInvokesConcurrent == false)
* @requires (vm.opt.UseJVMCICompiler == null) | (vm.opt.UseJVMCICompiler == false)
* @requires vm.opt.ExplicitGCInvokesConcurrent != true
* @requires vm.opt.UseJVMCICompiler != true
* @requires vm.gc != "Z" & vm.gc != "Shenandoah"
* @library /test/lib
* @library /
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData00.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts=="false" | vm.opt.AggressiveOpts=="null"
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @library /
* @modules java.base/jdk.internal.misc
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData05.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts=="false" | vm.opt.AggressiveOpts=="null"
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @library /
* @modules java.base/jdk.internal.misc
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData10.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts=="false" | vm.opt.AggressiveOpts=="null"
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @library /
* @modules java.base/jdk.internal.misc
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData15.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts=="false" | vm.opt.AggressiveOpts=="null"
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @library /
* @modules java.base/jdk.internal.misc
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData20.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts=="false" | vm.opt.AggressiveOpts=="null"
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @library /
* @modules java.base/jdk.internal.misc
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData25.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts=="false" | vm.opt.AggressiveOpts=="null"
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @library /
* @modules java.base/jdk.internal.misc
Expand Down
2 changes: 1 addition & 1 deletion test/hotspot/jtreg/gc/g1/TestShrinkAuxiliaryData30.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
* @summary Checks that decommitment occurs for JVM with different
* G1ConcRSLogCacheSize and ObjectAlignmentInBytes options values
* @requires vm.gc.G1
* @requires vm.opt.AggressiveOpts=="false" | vm.opt.AggressiveOpts=="null"
* @requires vm.opt.AggressiveOpts != true
* @library /test/lib
* @library /
* @modules java.base/jdk.internal.misc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/*
* @test ReservedStackTest
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @library /test/lib
* @modules java.base/jdk.internal.misc
* @modules java.base/jdk.internal.vm.annotation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* @summary Run ReservedStackTest with dedicated compilers C1 and C2.
*
* @requires vm.flavor == "server" & !vm.emulatedClient
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @library /test/lib
* @modules java.base/jdk.internal.misc
* @modules java.base/jdk.internal.vm.annotation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
* 4254634 println() while catching StackOverflowError causes hotspot VM crash
* 4302288 the second stack overflow causes Classic VM to exit on win32
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack001
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* 4254634 println() while catching StackOverflowError causes hotspot VM crash
* 4302288 the second stack overflow causes Classic VM to exit on win32
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack002
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack003
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack004
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack005
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack006
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* See also the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack007
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @ignore 8139875
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack008
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack009
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack010
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack011
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack012
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack013
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack014
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
* See the bug:
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack015
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @ignore 8139875
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack016 -eager
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @ignore 8139875
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack017 -eager
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @ignore 8139875
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack018 -eager
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* 4366625 (P4/S4) multiple stack overflow causes HS crash
*
* @ignore 8139875
* @requires vm.opt.DeoptimizeALot == null | vm.opt.DeoptimizeALot == false
* @requires vm.opt.DeoptimizeALot != true
* @run main/othervm/timeout=900 nsk.stress.stack.stack019 -eager
*/

Expand Down