Index: src/incremental-marking.cc |
diff --git a/src/incremental-marking.cc b/src/incremental-marking.cc |
index df0f14a74cef8363e51c98bd3bdc8d2e60b44309..49936d7ce8fe2a5f651dc4636d5a82f26bc2b8a8 100644 |
--- a/src/incremental-marking.cc |
+++ b/src/incremental-marking.cc |
@@ -648,6 +648,8 @@ void IncrementalMarking::StartMarking(CompactionFlag flag) { |
IncrementalMarkingRootMarkingVisitor visitor(this); |
heap_->IterateStrongRoots(&visitor, VISIT_ONLY_STRONG); |
+ heap_->mark_compact_collector()->MarkWeakObjectToCodeTable(); |
+ |
// Ready to start incremental marking. |
if (FLAG_trace_incremental_marking) { |
PrintF("[IncrementalMarking] Running\n"); |