Skip to content

Conversation

@qinsoon
Copy link
Member

@qinsoon qinsoon commented Nov 17, 2021

This PR fixes a bug that when DEFRAG is set to false, Immix plans would not consider any GC as an emergency GC so they did not throw OOM. Immix plans check if last GC was defrag to determine whether last GC was exhaustive. As DEFRAG is false, there would be no defrag GC, thus the plans wouldn't consider any GC was exhaustive. So in case of running out of memory, Immix plans would keep looping to do GCs with no end condition. This PR fixes this issue.

@qinsoon qinsoon added the PR-testing Run binding tests for the pull request (deprecated: use PR-extended-testing instead) label Nov 17, 2021
@qinsoon qinsoon marked this pull request as ready for review November 17, 2021 23:44
@qinsoon qinsoon requested a review from wenyuzhao November 17, 2021 23:44
@qinsoon qinsoon merged commit 339640f into master Nov 23, 2021
@qinsoon qinsoon deleted the fix-emergency-gc-for-immix-no-defrag branch November 23, 2021 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR-testing Run binding tests for the pull request (deprecated: use PR-extended-testing instead)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants