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 22, 2023
1 parent adbcfff commit fe315b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gc/base/standard/ParallelGlobalGC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1925,6 +1925,11 @@ MM_ParallelGlobalGC::reinitializeForRestore(MM_EnvironmentBase *env)
) {
rc = false;
}
#if defined(OMR_GC_MODRON_SCAVENGER)
else if (_extensions->scavengerEnabled && (NULL != _extensions->scavenger)) {
rc = _extensions->scavenger->reinitializeForRestore(env);
}
#endif /* defined(OMR_GC_MODRON_SCAVENGER) */

return rc;
}
Expand Down

0 comments on commit fe315b2

Please sign in to comment.