Index: src/elements.cc |
diff --git a/src/elements.cc b/src/elements.cc |
index c523818d87646805ec149c76564d7cb2674b9eb4..db971cc07ef89a2bb381a6f1369ef9d253960429 100644 |
--- a/src/elements.cc |
+++ b/src/elements.cc |
@@ -884,7 +884,7 @@ class FastElementsAccessor |
if (length == 0) { |
array->initialize_elements(); |
} else { |
- isolate->heap()->RightTrimFixedArray<Heap::FROM_MUTATOR>( |
+ isolate->heap()->RightTrimFixedArray<Heap::CONCURRENT_TO_SWEEPER>( |
*backing_store, old_capacity - length); |
} |
} else { |