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

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

Issue 2371733002: Introduce EmbedderReachableReferenceReporter (Closed)
Patch Set: Fix UsingEmbedderHeapTracer Created 4 years, 3 months 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/incremental-marking.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 e999ebf31e51d128fb561f74babb249c0998b48b..5e28afec6895543dc116f693f8898c718a1411d8 100644
--- a/src/heap/mark-compact.h
+++ b/src/heap/mark-compact.h
@@ -490,24 +490,6 @@ class MarkCompactCollector {
Sweeper& sweeper() { return sweeper_; }
- // ===========================================================================
- // Embedder heap tracer support. =============================================
- // ===========================================================================
-
- void SetEmbedderHeapTracer(EmbedderHeapTracer* tracer);
- EmbedderHeapTracer* embedder_heap_tracer() { return embedder_heap_tracer_; }
- bool UsingEmbedderHeapTracer() { return embedder_heap_tracer(); }
-
- // In order to avoid running out of memory we force tracing wrappers if there
- // are too many of them.
- bool RequiresImmediateWrapperProcessing();
-
- void RegisterWrappersWithEmbedderHeapTracer();
-
- void TracePossibleWrapper(JSObject* js_object);
-
- size_t wrappers_to_trace() { return wrappers_to_trace_.size(); }
-
private:
class EvacuateNewSpacePageVisitor;
class EvacuateNewSpaceVisitor;
@@ -747,12 +729,9 @@ class MarkCompactCollector {
base::VirtualMemory* marking_deque_memory_;
size_t marking_deque_memory_committed_;
MarkingDeque marking_deque_;
- std::vector<std::pair<void*, void*>> wrappers_to_trace_;
CodeFlusher* code_flusher_;
- EmbedderHeapTracer* embedder_heap_tracer_;
-
List<Page*> evacuation_candidates_;
List<Page*> newspace_evacuation_candidates_;
« no previous file with comments | « src/heap/incremental-marking.cc ('k') | src/heap/mark-compact.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698