Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust cardCleaningThreshold for language specific kickoff
When transitioning from tracing only state to tracing and card cleaning state, account that pre-calculated remaining free memory for card cleaning kickoff threshold should be higher if global kickoff was due to reasons other than low free memory such a language specific kickoff (class unloading). The adjustment for card cleaning kickoff threshold is exactly the same as the difference between actual free memory at the time of global kickoff and expected free memory global kickoff threshold. Without the adjustment, card cleaning and any other states after (most importantly final STW phase where we reclaim memory) are delayed till (incorrectly very low) pre-calculated card cleaning threshold is met, effectively negating any efforts of the early language specific kickoff. Signed-off-by: Aleksandar Micic <amicic@ca.ibm.com>
- Loading branch information