| Index: src/heap/mark-compact.h
|
| diff --git a/src/heap/mark-compact.h b/src/heap/mark-compact.h
|
| index cd207bcda27ba792ec2291abead68006c86932be..1ad83080c0641c0f5bbaa6244cee61f06d3c4fee 100644
|
| --- a/src/heap/mark-compact.h
|
| +++ b/src/heap/mark-compact.h
|
| @@ -577,6 +577,10 @@ class MarkCompactCollector {
|
| return nullptr;
|
| }
|
|
|
| + std::vector<std::pair<Data*, Data*>>& wrappers_to_trace() {
|
| + return wrappers_to_trace_;
|
| + }
|
| +
|
| private:
|
| class EvacuateNewSpaceVisitor;
|
| class EvacuateOldSpaceVisitor;
|
| @@ -678,8 +682,8 @@ class MarkCompactCollector {
|
| // or overflowed in the heap. This respects references only considered in
|
| // the final atomic marking pause including the following:
|
| // - Processing of objects reachable through Harmony WeakMaps.
|
| - // - Objects reachable due to host application logic like object groups
|
| - // or implicit references' groups.
|
| + // - Objects reachable due to host application logic like object groups,
|
| + // implicit references' groups, or embedder heap tracing.
|
| void ProcessEphemeralMarking(ObjectVisitor* visitor,
|
| bool only_process_harmony_weak_collections);
|
|
|
| @@ -813,6 +817,8 @@ class MarkCompactCollector {
|
| base::VirtualMemory* marking_deque_memory_;
|
| size_t marking_deque_memory_committed_;
|
| MarkingDeque marking_deque_;
|
| + std::vector<std::pair<Data*, Data*>> wrappers_to_trace_;
|
| +
|
| CodeFlusher* code_flusher_;
|
| bool have_code_to_deoptimize_;
|
|
|
|
|