-
Notifications
You must be signed in to change notification settings - Fork 147
8272364: Parallel GC adaptive size policy may shrink the heap below MinHeapSize #2419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
👋 Welcome back cost0much! A progress list of the required criteria for merging this PR into |
|
❗ This change is not yet ready to be integrated. |
|
This backport pull request has now been updated with issue from the original commit. |
|
/issue add JDK-8333674 |
|
@cost0much |
|
@cost0much |
|
|
|
/approval 8331675 request Removes failing gtest after JDK-8272364. Applies cleanly from JDK24 and no bugtail. Passes GHA and jtreg tier1-4 on main platforms; see PR for more details. Low risk as only test code change, moreover was already backported to JDK 23. /approval 8333674 request Disables a gtest for platform PPC64; this change backported only to make JDK-8331675 clean: the test is removed in multi-issue backport. Applies cleanly from JDK23 and no bugtail. Passes GHA and jtreg tier1-4 on main platforms; see PR for more details. Very low risk only test code change (and changes aren't actually backported) /approval 8272364 request Fixes miscalculation of Parallal GC ergonomics. Applies cleanly from JDK23 and subsequent failing test fixes are included in multi-issue PR. Passes GHA and jtreg tier1-4 on main platforms; see PR for more details. Medium risk given hotspot change, but risk is mitigated by extensive tests and moreover this change was backported to JDK22. |
|
@cost0much |
|
@cost0much |
|
@cost0much |
|
Hi @cost0much Also, please give a reason why you want to backport JDK-8272364 |
|
@GoeLin Ah, that's my bad. I assumed that given the subsequent test failures of JDK-8272364, an atomic merge would be preferred. I can re-open with multiple PRs if that's better. The justification for JDK-8272364 is that the current behavior is incorrect, and the issue was significant enough to warrant a backport to 22. Moreover, the risk is comparatively low for hotspot backports, given the lack of bugtail (besides some failing tests). The only major risk I see is if 21 users are already reliant on the current incorrect behavior; if that's a main consideration, then this backport can be abandoned. |
Clean backports. Fixes miscalculation of Parallal GC ergonomics; followup backports to fix related gtest (JDK-8333674 is trivial and backported so that JDK-8331675 is clean). New test passes with change, fails without. Changes pass GHA and internal Amazon pipelines: jtreg tier1-4 on platforms linux x64, aarch64, aarch32; alpine x64, aarch64; mac aarch64, x64; windows x64.
Progress
Warning
8331675: gtest CollectorPolicy.young_min_ergo_vm fails after 8272364Issues
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk21u-dev.git pull/2419/head:pull/2419$ git checkout pull/2419Update a local copy of the PR:
$ git checkout pull/2419$ git pull https://git.openjdk.org/jdk21u-dev.git pull/2419/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2419View PR using the GUI difftool:
$ git pr show -t 2419Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk21u-dev/pull/2419.diff
Using Webrev
Link to Webrev Comment