Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 5a93981b218d67e913b99f5a3cca73185f8d99fc..fddc0614f9204a0988af7f4eea29874dced7f1e2 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -1347,6 +1347,12 @@ class Heap { |
} |
Object* native_contexts_list() { return native_contexts_list_; } |
+ void set_array_buffers_list(Object* object) { |
+ array_buffers_list_ = object; |
+ } |
+ Object* array_buffers_list() { return array_buffers_list_; } |
+ |
+ |
// Number of mark-sweeps. |
unsigned int ms_count() { return ms_count_; } |
@@ -2017,6 +2023,8 @@ class Heap { |
Object* native_contexts_list_; |
+ Object* array_buffers_list_; |
+ |
StoreBufferRebuilder store_buffer_rebuilder_; |
struct StringTypeTable { |
@@ -2160,6 +2168,9 @@ class Heap { |
// Code to be run before and after mark-compact. |
void MarkCompactPrologue(); |
+ void ProcessNativeContexts(WeakObjectRetainer* retainer, bool record_slots); |
+ void ProcessArrayBuffers(WeakObjectRetainer* retainer, bool record_slots); |
+ |
// Record statistics before and after garbage collection. |
void ReportStatisticsBeforeGC(); |
void ReportStatisticsAfterGC(); |