Index: include/v8.h |
diff --git a/include/v8.h b/include/v8.h |
index 655da2ab2b97a53a9d2c077a68083b62d69ef931..2d2cc7b5cd984efdd5fdae4a8ecf303d2e3dfe91 100644 |
--- a/include/v8.h |
+++ b/include/v8.h |
@@ -5690,6 +5690,10 @@ class V8_EXPORT ResourceConstraints { |
void set_code_range_size(size_t limit_in_mb) { |
code_range_size_ = limit_in_mb; |
} |
+ size_t max_zone_pool_size() const { return max_zone_pool_size_; } |
+ void set_max_zone_pool_size(const size_t bytes) { |
+ max_zone_pool_size_ = bytes; |
+ } |
private: |
int max_semi_space_size_; |
@@ -5697,6 +5701,7 @@ class V8_EXPORT ResourceConstraints { |
int max_executable_size_; |
uint32_t* stack_limit_; |
size_t code_range_size_; |
+ size_t max_zone_pool_size_; |
}; |