Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(726)

Unified Diff: src/heap/mark-compact.h

Issue 1493393002: Revert "Use WeakCells in the optimized code map rather than traversing in pause." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/mark-compact.h
diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
index 680bab3d7dc3d462cca9a1b903994b57018e0856..1b7cef59e47177035be58457cb088c77ba63dbeb 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -671,6 +671,11 @@ class MarkCompactCollector {
void ProcessAndClearTransitionArrays();
void AbortTransitionArrays();
+ // After all reachable objects have been marked, those entries within
+ // optimized code maps that became unreachable are removed, potentially
+ // trimming or clearing out the entire optimized code map.
+ void ProcessAndClearOptimizedCodeMaps();
+
// Process non-live references in maps and optimized code.
void ProcessWeakReferences();
« no previous file with comments | « src/heap/heap.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698