| Index: src/heap.h
|
| diff --git a/src/heap.h b/src/heap.h
|
| index e9747df11403b9d1309facaf33545c1155d9d757..5ad67d67897639566fbd24b6e7bd905ad3eb48af 100644
|
| --- a/src/heap.h
|
| +++ b/src/heap.h
|
| @@ -1504,6 +1504,13 @@ class Heap {
|
| // more expedient to get at the isolate directly from within Heap methods.
|
| Isolate* isolate_;
|
|
|
| + // The amount of external memory registered through the API kept alive
|
| + // by global handles
|
| + int64_t amount_of_external_allocated_memory_;
|
| +
|
| + // Caches the amount of external memory registered at the last global gc.
|
| + int64_t amount_of_external_allocated_memory_at_last_global_gc_;
|
| +
|
| Object* roots_[kRootListLength];
|
|
|
| intptr_t code_range_size_;
|
| @@ -1590,17 +1597,6 @@ class Heap {
|
| // Used to adjust the limits that control the timing of the next GC.
|
| intptr_t size_of_old_gen_at_last_old_space_gc_;
|
|
|
| - // Limit on the amount of externally allocated memory allowed
|
| - // between global GCs. If reached a global GC is forced.
|
| - intptr_t external_allocation_limit_;
|
| -
|
| - // The amount of external memory registered through the API kept alive
|
| - // by global handles
|
| - int64_t amount_of_external_allocated_memory_;
|
| -
|
| - // Caches the amount of external memory registered at the last global gc.
|
| - int64_t amount_of_external_allocated_memory_at_last_global_gc_;
|
| -
|
| // Indicates that an allocation has failed in the old generation since the
|
| // last GC.
|
| bool old_gen_exhausted_;
|
|
|