Commit 6e5c0be
committed
Prevent Eden from exceeding free heap after a heap resize failure
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>1 parent da9f498 commit 6e5c0be
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
942 | 942 | | |
943 | 943 | | |
944 | 944 | | |
945 | | - | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
946 | 948 | | |
947 | 949 | | |
948 | 950 | | |
| |||
0 commit comments