Index: src/objects-visiting-inl.h |
diff --git a/src/objects-visiting-inl.h b/src/objects-visiting-inl.h |
index add247ea45cda0e3f7c97de7e8b24f9a8f632106..69a2be93c5b82baa3d44d48579b1451d5149ba25 100644 |
--- a/src/objects-visiting-inl.h |
+++ b/src/objects-visiting-inl.h |
@@ -316,7 +316,7 @@ void StaticMarkingVisitor<StaticVisitor>::VisitSharedFunctionInfo( |
// TODO(mstarzinger): We may experiment with rebuilding it or with |
// retaining entries which should survive as we iterate through |
// optimized functions anyway. |
- shared->ClearOptimizedCodeMap(); |
+ shared->ClearOptimizedCodeMap("during full gc"); |
} |
MarkCompactCollector* collector = heap->mark_compact_collector(); |
if (collector->is_code_flushing_enabled()) { |