Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
22
-
b26
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8331423 | 21.0.4 | Zhengyu Gu | P4 | Resolved | Fixed | b01 |
JDK-8333314 | 17.0.13 | Zhengyu Gu | P4 | Resolved | Fixed | b01 |
Description
After a successful young-gc, we check again (`PSAdaptiveSizePolicy::should_full_GC`) if a full-gc should follow to avoid future promotion-failure. (Ofc, if young-gc fails, we upgrade to full-gc.)
The after-success-young-gc check can be quite conservative; remove it to avoid unnecessary full-gc.
(The attachment shows a full-gc starts when it's not really needed. Running: `java -Xms3g -Xmx3g -XX:+UseParallelGC -XX:NewSize=1g pgc_full_gc.java`)
Attachments
Issue Links
- backported by
-
JDK-8331423 Parallel: Remove PSAdaptiveSizePolicy::should_full_GC
-
- Resolved
-
-
JDK-8333314 Parallel: Remove PSAdaptiveSizePolicy::should_full_GC
-
- Resolved
-
- relates to
-
JDK-8320916 jdk/jfr/event/gc/stacktrace/TestParallelMarkSweepAllocationPendingStackTrace.java failed with "OutOfMemoryError: GC overhead limit exceeded"
-
- Resolved
-
-
JDK-8328744 Parallel: Parallel GC throws OOM before heap is fully expanded
-
- Closed
-
- links to
-
Commit openjdk/jdk17u-dev/7a8cf6c8
-
Commit openjdk/jdk21u-dev/5d5c6789
-
Commit openjdk/jdk/4bcda602
-
Review openjdk/jdk17u-dev/2450
-
Review openjdk/jdk21u-dev/536
-
Review openjdk/jdk/16560