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

Unified Diff: include/v8.h

Issue 2890603007: [heap] Remove max_executable_size resource constraint. (Closed)
Patch Set: comment Created 3 years, 7 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 099dfb25b434c45a949d4ddf33b2e9c8913881de..3ed2a4140c7c675ad1affed8d4534727f0288865 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -5905,8 +5905,12 @@ class V8_EXPORT ResourceConstraints {
void set_max_old_space_size(int limit_in_mb) {
max_old_space_size_ = limit_in_mb;
}
- int max_executable_size() const { return max_executable_size_; }
- void set_max_executable_size(int limit_in_mb) {
+ V8_DEPRECATE_SOON("max_executable_size_ is subsumed by max_old_space_size_",
+ int max_executable_size() const) {
+ return max_executable_size_;
+ }
+ V8_DEPRECATE_SOON("max_executable_size_ is subsumed by max_old_space_size_",
+ void set_max_executable_size(int limit_in_mb)) {
max_executable_size_ = limit_in_mb;
}
uint32_t* stack_limit() const { return stack_limit_; }
« 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