diff options
Diffstat (limited to 'chromium/v8/src/mark-compact.h')
-rw-r--r-- | chromium/v8/src/mark-compact.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/chromium/v8/src/mark-compact.h b/chromium/v8/src/mark-compact.h index df2f7821139..2a1d97dc2ae 100644 --- a/chromium/v8/src/mark-compact.h +++ b/chromium/v8/src/mark-compact.h @@ -637,7 +637,7 @@ class MarkCompactCollector { void VerifyMarkbitsAreClean(); static void VerifyMarkbitsAreClean(PagedSpace* space); static void VerifyMarkbitsAreClean(NewSpace* space); - void VerifyWeakEmbeddedMapsInOptimizedCode(); + void VerifyWeakEmbeddedObjectsInOptimizedCode(); void VerifyOmittedMapChecks(); #endif @@ -735,10 +735,13 @@ class MarkCompactCollector { return sequential_sweeping_; } - // Parallel marking support. - void MarkInParallel(); + // Mark the global table which maps weak objects to dependent code without + // marking its contents. + void MarkWeakObjectToCodeTable(); - void WaitUntilMarkingCompleted(); + // Special case for processing weak references in a full collection. We need + // to artifically keep AllocationSites alive for a time. + void MarkAllocationSite(AllocationSite* site); private: MarkCompactCollector(); @@ -889,7 +892,7 @@ class MarkCompactCollector { void ClearNonLivePrototypeTransitions(Map* map); void ClearNonLiveMapTransitions(Map* map, MarkBit map_mark); - void ClearAndDeoptimizeDependentCode(Map* map); + void ClearAndDeoptimizeDependentCode(DependentCode* dependent_code); void ClearNonLiveDependentCode(DependentCode* dependent_code); // Marking detaches initial maps from SharedFunctionInfo objects |