Skip to content

Commit

Permalink
Invoke Scavenger Reinit during Global GC Reinit
Browse files Browse the repository at this point in the history
Relates to
eclipse-openj9/openj9#17459 (comment)

Signed-off-by: Salman Rana <[email protected]>
  • Loading branch information
RSalman committed Jun 14, 2023
1 parent efe8caf commit 46f6943
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gc/base/standard/ParallelGlobalGC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1924,6 +1924,10 @@ MM_ParallelGlobalGC::reinitializeForRestore(MM_EnvironmentBase *env)
|| !_markingScheme->getWorkPackets()->reinitializeForRestore(env)
) {
rc = false;
} else if (_extensions->scavengerEnabled && (NULL != _extensions->scavenger)) {
if (!_extensions->scavenger->reinitializeForRestore(env)) {
rc = false;
}
}

return rc;
Expand Down

0 comments on commit 46f6943

Please sign in to comment.