Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8270156: Add "randomness" and "stress" keys to JTreg tests which use …
…StressGCM, StressLCM and/or StressIGVN

Backport-of: 653a612a5aac266509f414c570871b7141b9347d
  • Loading branch information
GoeLin committed Jan 2, 2023
1 parent cfb3a3c commit eb76fa3
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 2 deletions.
Expand Up @@ -23,6 +23,7 @@

/*
* @test
* @key stress randomness
* @bug 8252219 8256535
* @requires vm.compiler2.enabled
* @summary Tests that different combinations of stress options and
Expand Down Expand Up @@ -53,4 +54,3 @@ static public void main(String[] args) {
System.out.println("Passed");
}
}

3 changes: 2 additions & 1 deletion test/hotspot/jtreg/compiler/c2/Test7179138_1.java
@@ -1,5 +1,5 @@
/*
* Copyright 2012 Skip Balk. All Rights Reserved.
* Copyright 2012, 2021, Skip Balk. 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
Expand All @@ -23,6 +23,7 @@

/*
* @test
* @key stress randomness
* @bug 7179138 8271341
* @summary Incorrect result with String concatenation optimization
*
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/compiler/c2/TestJumpTable.java
Expand Up @@ -23,6 +23,7 @@

/**
* @test
* @key stress randomness
* @bug 8229855 8238812
* @summary Test jump table with key value that gets out of bounds after loop unrolling.
* @requires vm.compiler2.enabled
Expand Down
Expand Up @@ -29,6 +29,7 @@

/*
* @test
* @key stress randomness
* @bug 8252219 8256535
* @requires vm.compiler2.enabled
* @summary Tests that using a stress option without -XX:StressSeed=N generates
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/compiler/debug/TestStressCM.java
Expand Up @@ -29,6 +29,7 @@

/*
* @test
* @key stress randomness
* @bug 8253765
* @requires vm.debug == true & vm.compiler2.enabled
* @summary Tests that, when compiling with StressLCM or StressGCM, using the
Expand Down
Expand Up @@ -29,6 +29,7 @@

/*
* @test
* @key stress randomness
* @bug 8252219 8256535
* @requires vm.debug == true & vm.compiler2.enabled
* @summary Tests that stress compilations with the same seed yield the same
Expand Down
1 change: 1 addition & 0 deletions test/hotspot/jtreg/compiler/exceptions/TestSpilling.java
Expand Up @@ -25,6 +25,7 @@

/**
* @test
* @key stress randomness
* @bug 8263227
* @summary Tests that users of return values from exception-throwing method
* calls are not duplicated in the call's exception path. The second
Expand Down
Expand Up @@ -23,6 +23,7 @@

/**
* @test
* @key stress randomness
* @bug 8263971
* @summary C2 crashes with SIGFPE with -XX:+StressGCM and -XX:+StressIGVN
*
Expand Down

1 comment on commit eb76fa3

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.