Index: src/heap/heap.h |
diff --git a/src/heap/heap.h b/src/heap/heap.h |
index 1a567e08be00f66a09bd66bd8af92c1296878c1a..f574bc6b0a42bead14d3082c9eeccd380eff337b 100644 |
--- a/src/heap/heap.h |
+++ b/src/heap/heap.h |
@@ -841,6 +841,8 @@ class Heap { |
global_ic_age_ = (global_ic_age_ + 1) & SharedFunctionInfo::ICAgeBits::kMax; |
} |
+ int64_t external_memory_hard_limit() { return MaxOldGenerationSize() / 2; } |
+ |
int64_t external_memory() { return external_memory_; } |
void update_external_memory(int64_t delta) { external_memory_ += delta; } |