Index: src/runtime/runtime-regexp.cc |
diff --git a/src/runtime/runtime-regexp.cc b/src/runtime/runtime-regexp.cc |
index d3212f464ff9839b13a8cb4ab107c8145561ecfa..478573a68d64f625d26321c3e4b73e02da175019 100644 |
--- a/src/runtime/runtime-regexp.cc |
+++ b/src/runtime/runtime-regexp.cc |
@@ -638,7 +638,7 @@ MUST_USE_RESULT static Object* StringReplaceGlobalRegExpWithEmptyString( |
// thread can not get confused with the filler creation. No synchronization |
// needed. |
heap->CreateFillerObjectAt(end_of_string, delta); |
- heap->AdjustLiveBytes(answer->address(), -delta, Heap::FROM_MUTATOR); |
+ heap->AdjustLiveBytes(answer->address(), -delta, Heap::CONCURRENT_TO_SWEEPER); |
return *answer; |
} |