Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: include/v8.h

Issue 2424393002: Constrain the zone segment pool size (Closed)
Patch Set: Reaction to comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
};
« no previous file with comments | « no previous file | src/api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698