Navigation Menu

Skip to content

Commit

Permalink
8040793: vmTestbase/nsk/monitoring/stress/lowmem fails on calling isC…
Browse files Browse the repository at this point in the history
…ollectionUsageThresholdExceeded()

Reviewed-by: iwalulya, tschatzl
  • Loading branch information
albertnetymk committed Feb 13, 2023
1 parent 1f9c110 commit 0025764
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/hotspot/share/gc/serial/defNewGeneration.cpp
Expand Up @@ -228,6 +228,10 @@ void DefNewGeneration::compute_space_boundaries(uintx minimum_eden_size,
uintx size = _virtual_space.committed_size();
uintx survivor_size = compute_survivor_size(size, SpaceAlignment);
uintx eden_size = size - (2*survivor_size);
if (eden_size > max_eden_size()) {
eden_size = max_eden_size();
survivor_size = (size - eden_size)/2;
}
assert(eden_size > 0 && survivor_size <= eden_size, "just checking");

if (eden_size < minimum_eden_size) {
Expand Down

3 comments on commit 0025764

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

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

@TheRealMDoerr
Copy link
Contributor

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 0025764 Jun 21, 2023

Choose a reason for hiding this comment

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

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

The commit being backported was authored by Albert Mingkun Yang on 13 Feb 2023 and was reviewed by Ivan Walulya and Thomas Schatzl.

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 TheRealMDoerr-backport-0025764e:TheRealMDoerr-backport-0025764e
$ git checkout TheRealMDoerr-backport-0025764e
# 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 TheRealMDoerr-backport-0025764e

Please sign in to comment.