| Index: src/heap/heap.h
|
| diff --git a/src/heap/heap.h b/src/heap/heap.h
|
| index 1c7a67e8f91cea3a2c79aabf7c872134f2d5d051..a55cb6dfcb000c72090d367ba6be416e551cf355 100644
|
| --- a/src/heap/heap.h
|
| +++ b/src/heap/heap.h
|
| @@ -183,6 +183,7 @@ namespace internal {
|
| V(FixedArray, microtask_queue, MicrotaskQueue) \
|
| V(FixedArray, keyed_load_dummy_vector, KeyedLoadDummyVector) \
|
| V(FixedArray, detached_contexts, DetachedContexts) \
|
| + V(ArrayList, retained_maps, RetainedMaps) \
|
| V(WeakHashTable, weak_object_to_code_table, WeakObjectToCodeTable)
|
|
|
| // Entries in this list are limited to Smis and are not visited during GC.
|
| @@ -1449,6 +1450,8 @@ class Heap {
|
|
|
| DependentCode* LookupWeakObjectToCodeDependency(Handle<HeapObject> obj);
|
|
|
| + void AddRetainedMap(Handle<Map> map);
|
| +
|
| static void FatalProcessOutOfMemory(const char* location,
|
| bool take_snapshot = false);
|
|
|
|
|