diff options
Diffstat (limited to 'deps/v8/src/heap/mark-compact.h')
-rw-r--r-- | deps/v8/src/heap/mark-compact.h | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/deps/v8/src/heap/mark-compact.h b/deps/v8/src/heap/mark-compact.h index b2c637bc63..2cbb369f76 100644 --- a/deps/v8/src/heap/mark-compact.h +++ b/deps/v8/src/heap/mark-compact.h @@ -467,7 +467,7 @@ class MarkCompactCollector { static const size_t kMinMarkingDequeSize = 256 * KB; void EnsureMarkingDequeIsCommittedAndInitialize(size_t max_size) { - if (!marking_deque_.in_use()) { + if (!marking_deque()->in_use()) { EnsureMarkingDequeIsCommitted(max_size); InitializeMarkingDeque(); } @@ -490,16 +490,6 @@ class MarkCompactCollector { Sweeper& sweeper() { return sweeper_; } - void RegisterWrappersWithEmbedderHeapTracer(); - - void SetEmbedderHeapTracer(EmbedderHeapTracer* tracer); - - EmbedderHeapTracer* embedder_heap_tracer() { return embedder_heap_tracer_; } - - bool UsingEmbedderHeapTracer() { return embedder_heap_tracer(); } - - void TracePossibleWrapper(JSObject* js_object); - private: class EvacuateNewSpacePageVisitor; class EvacuateNewSpaceVisitor; @@ -739,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_; @@ -768,8 +755,7 @@ class EvacuationScope BASE_EMBEDDED { MarkCompactCollector* collector_; }; - -const char* AllocationSpaceName(AllocationSpace space); +V8_EXPORT_PRIVATE const char* AllocationSpaceName(AllocationSpace space); } // namespace internal } // namespace v8 |