Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
8293891: gc/g1/mixedgc/TestOldGenCollectionUsage.java (still) assumes…
… that GCs take 1ms minimum

Reviewed-by: ayang, kbarrett
  • Loading branch information
Thomas Schatzl committed Sep 19, 2022
1 parent d7c1a76 commit d77c464
Showing 1 changed file with 0 additions and 3 deletions.
Expand Up @@ -118,9 +118,6 @@ public void run() {
if (collectionCount <= 0) {
throw new RuntimeException("Collection count <= 0");
}
if (collectionTime <= 0) {
throw new RuntimeException("Collector has not run");
}

MixedGCProvoker.provokeMixedGC(liveOldObjects);

Expand Down

3 comments on commit d77c464

@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 d77c464 Oct 20, 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 d77c464 Oct 20, 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-d77c464c 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 d77c464c from the openjdk/jdk repository.

The commit being backported was authored by Thomas Schatzl on 19 Sep 2022 and was reviewed by Albert Mingkun Yang and Kim Barrett.

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-d77c464c:GoeLin-backport-d77c464c
$ git checkout GoeLin-backport-d77c464c
# 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-d77c464c

Please sign in to comment.