| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index 643a1519f5fe980f5792ba0f6af5dc2ffcaa0b33..92ae0f163b4f73b45710f0548e76707bd56d9988 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -1614,6 +1614,9 @@ class Heap {
|
| Object* array_buffers_list_;
|
| Object* allocation_sites_list_;
|
|
|
| + Object* last_array_buffers_young_object_;
|
| + Object* last_native_contexts_young_object_;
|
| +
|
| // WeakHashTable that maps objects embedded in optimized code to dependent
|
| // code list. It is initilized lazily and contains the undefined_value at
|
| // start.
|
| @@ -1950,8 +1953,10 @@ class Heap {
|
| void MarkCompactPrologue();
|
| void MarkCompactEpilogue();
|
|
|
| - void ProcessNativeContexts(WeakObjectRetainer* retainer);
|
| - void ProcessArrayBuffers(WeakObjectRetainer* retainer);
|
| + void ProcessNativeContexts(WeakObjectRetainer* retainer,
|
| + Object* last_native_contexts_young_object);
|
| + void ProcessArrayBuffers(WeakObjectRetainer* retainer,
|
| + Object* last_array_buffers_young_object);
|
| void ProcessAllocationSites(WeakObjectRetainer* retainer);
|
|
|
| // Deopts all code that contains allocation instruction which are tenured or
|
|
|