Skip to content

Commit

Permalink
Fix: Corrupted Remembered Set On Backout
Browse files Browse the repository at this point in the history
Fix for #3211

Flush RS fragment upon backout.

Signed-off-by: Salman Rana <salman.rana@ibm.com>
  • Loading branch information
RSalman committed Nov 29, 2018
1 parent 88fd3ec commit 0631538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gc/base/standard/Scavenger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3568,8 +3568,8 @@ MM_Scavenger::completeBackOut(MM_EnvironmentStandard *env)
OMRPORT_ACCESS_FROM_OMRPORT(env->getPortLibrary());
#endif /* OMR_SCAVENGER_TRACE_BACKOUT */

/* Ensure we've pushed all references from buffers out to the lists */
_cli->scavenger_flushReferenceObjects(env);
/* Ensure we've pushed all references from buffers out to the lists and flushed RS fragments*/
flushBuffersForGetNextScanCache(env);

/* Must synchronize to be sure all private caches have been flushed */
if (env->_currentTask->synchronizeGCThreadsAndReleaseMaster(env, UNIQUE_ID)) {
Expand Down

0 comments on commit 0631538

Please sign in to comment.