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

Unified Diff: include/v8.h

Issue 2890603007: [heap] Remove max_executable_size resource constraint. (Closed)
Patch Set: deprecate 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..1f795df82dcdc088604e3f48112a408ac632ab41 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 max_old_space_size_",
ulan 2017/05/18 14:30:47 subsumed _by_
Hannes Payer (out of office) 2017/05/19 09:46:19 Done.
+ int max_executable_size() const) {
+ return max_executable_size_;
+ }
+ V8_DEPRECATE_SOON("max_executable_size_ is subsumed max_old_space_size_",
ulan 2017/05/18 14:30:47 ditto
Hannes Payer (out of office) 2017/05/19 09:46:18 Done.
+ 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