Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index e9747df11403b9d1309facaf33545c1155d9d757..84d73a30ef71baca8837f76a6a2ceabff6feaa74 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -1500,6 +1500,13 @@ class Heap { |
private: |
Heap(); |
+ // 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_; |
+ |
// This can be calculated directly from a pointer to the heap; however, it is |
// more expedient to get at the isolate directly from within Heap methods. |
Isolate* isolate_; |
@@ -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_; |