Skip to content

Commit

Permalink
8315680: java/lang/ref/ReachabilityFenceTest.java should run with -Xb…
Browse files Browse the repository at this point in the history
…atch

Reviewed-by: dnsimon, never, psandoz
  • Loading branch information
Gergö Barany authored and Doug Simon committed Nov 7, 2023
1 parent b1625af commit a290256
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/jdk/java/lang/ref/ReachabilityFenceTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
*
* @requires vm.opt.DeoptimizeALot != true
*
* @run main/othervm -Xint -Dpremature=false ReachabilityFenceTest
* @run main/othervm -XX:TieredStopAtLevel=1 -Dpremature=true ReachabilityFenceTest
* @run main/othervm -XX:TieredStopAtLevel=2 -Dpremature=true ReachabilityFenceTest
* @run main/othervm -XX:TieredStopAtLevel=3 -Dpremature=true ReachabilityFenceTest
* @run main/othervm -XX:TieredStopAtLevel=4 -Dpremature=true ReachabilityFenceTest
* @run main/othervm -Xint -Dpremature=false ReachabilityFenceTest
* @run main/othervm -Xbatch -XX:TieredStopAtLevel=1 -Dpremature=true ReachabilityFenceTest
* @run main/othervm -Xbatch -XX:TieredStopAtLevel=2 -Dpremature=true ReachabilityFenceTest
* @run main/othervm -Xbatch -XX:TieredStopAtLevel=3 -Dpremature=true ReachabilityFenceTest
* @run main/othervm -Xbatch -XX:TieredStopAtLevel=4 -Dpremature=true ReachabilityFenceTest
*/

import java.lang.ref.Reference;
Expand All @@ -54,7 +54,7 @@ public class ReachabilityFenceTest {
* the object cannot be finalized. There is no sense running a positive test when premature finalization
* is not expected. It is a job for negative test to verify that invariant.
*
* The test methods should be appropriately compiled, therefore we do several iterations.
* The test methods should be appropriately compiled, therefore we do several iterations and run with -Xbatch.
*/

// Enough to OSR and compile
Expand Down

7 comments on commit a290256

@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 a290256 Nov 29, 2023

Choose a reason for hiding this comment

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

/backport jdk21u

@openjdk
Copy link

@openjdk openjdk bot commented on a290256 Nov 29, 2023

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-a290256b in my personal fork of openjdk/jdk21u. To create a pull request with this backport targeting openjdk/jdk21u: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 a290256b from the openjdk/jdk repository.

The commit being backported was authored by Gergö Barany on 7 Nov 2023 and was reviewed by Doug Simon, Tom Rodriguez and Paul Sandoz.

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/jdk21u:

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

@SoniaZaldana
Copy link
Member

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 a290256 Dec 4, 2023

Choose a reason for hiding this comment

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

@SoniaZaldana the backport was successfully created on the branch backport-SoniaZaldana-a290256b 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 a290256b from the openjdk/jdk repository.

The commit being backported was authored by Gergö Barany on 7 Nov 2023 and was reviewed by Doug Simon, Tom Rodriguez and Paul Sandoz.

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.git backport-SoniaZaldana-a290256b:backport-SoniaZaldana-a290256b
$ git checkout backport-SoniaZaldana-a290256b
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u-dev.git backport-SoniaZaldana-a290256b

@GoeLin
Copy link
Member

@GoeLin GoeLin commented on a290256 Dec 13, 2023

Choose a reason for hiding this comment

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

/backport jdk21u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on a290256 Dec 13, 2023

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 backport-GoeLin-a290256b in my personal fork of openjdk/jdk21u-dev. To create a pull request with this backport targeting openjdk/jdk21u-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 a290256b from the openjdk/jdk repository.

The commit being backported was authored by Gergö Barany on 7 Nov 2023 and was reviewed by Doug Simon, Tom Rodriguez and Paul Sandoz.

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/jdk21u-dev:

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

Please sign in to comment.