Skip to content

Prevent Eden from exceeding free heap after a heap resize failure#24413

Merged
amicic merged 1 commit into
eclipse-openj9:masterfrom
LinHu2016:pmr_committedsizeisssue
Jul 24, 2026
Merged

Prevent Eden from exceeding free heap after a heap resize failure#24413
amicic merged 1 commit into
eclipse-openj9:masterfrom
LinHu2016:pmr_committedsizeisssue

Conversation

@LinHu2016

Copy link
Copy Markdown
Contributor

Currently, we protect against the eden size exceeding the available free heap space when no heap resize occurs. Extend this protection to handle heap resize failures (both expansion and contraction).

For successful heap resize operations, heapReconfigured() is invoked, which triggers calculateEdenSize() to recalculate and adjust the eden size.

Currently, we protect against the eden size exceeding the available
free heap space when no heap resize occurs. Extend this protection to
handle heap resize failures (both expansion and contraction).

For successful heap resize operations, heapReconfigured() is invoked,
which triggers calculateEdenSize() to recalculate and adjust the eden
size.

Signed-off-by: lhu <linhu@ca.ibm.com>
@amicic

amicic commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

jenkins test sanity amac jdk21

@amicic
amicic merged commit 3f5a860 into eclipse-openj9:master Jul 24, 2026
7 checks passed
@amicic amicic added the comp:gc label Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants