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

Reviewed-by: thartmann, chagedorn
  • Loading branch information
tobiasholenstein authored and TobiHartmann committed Sep 23, 2021
1 parent 66ce09f commit 653a612
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

3 comments on commit 653a612

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@GoeLin
Copy link
Member

@GoeLin GoeLin commented on 653a612 Dec 31, 2022

Choose a reason for hiding this comment

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

/backport jdk17u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 653a612 Dec 31, 2022

Choose a reason for hiding this comment

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

@GoeLin the backport was successfully created on the branch GoeLin-backport-653a612a in my personal fork of openjdk/jdk17u-dev. To create a pull request with this backport targeting openjdk/jdk17u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

This pull request contains a backport of commit 653a612a from the openjdk/jdk repository.

The commit being backported was authored by Tobias Holenstein on 23 Sep 2021 and was reviewed by Tobias Hartmann and Christian Hagedorn.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u-dev:

$ git fetch https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-653a612a:GoeLin-backport-653a612a
$ git checkout GoeLin-backport-653a612a
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev GoeLin-backport-653a612a

Please sign in to comment.