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

Unified Diff: include/v8.h

Issue 1080633006: Deprecate 3-args ResourceConstraints::ConfigureDefaults (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 8 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 | no next file » | 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 622147609723c63293c6d94cd82cbd65785a5eb5..3495975769d4bdb73be0bb8048aa10e351787fd9 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -4687,9 +4687,10 @@ class V8_EXPORT ResourceConstraints {
uint64_t virtual_memory_limit);
// Deprecated, will be removed soon.
- void ConfigureDefaults(uint64_t physical_memory,
- uint64_t virtual_memory_limit,
- uint32_t number_of_processors);
+ V8_DEPRECATED("Use two-args version instead",
+ void ConfigureDefaults(uint64_t physical_memory,
+ uint64_t virtual_memory_limit,
+ uint32_t number_of_processors));
int max_semi_space_size() const { return max_semi_space_size_; }
void set_max_semi_space_size(int value) { max_semi_space_size_ = value; }
@@ -4700,13 +4701,12 @@ class V8_EXPORT ResourceConstraints {
uint32_t* stack_limit() const { return stack_limit_; }
// Sets an address beyond which the VM's stack may not grow.
void set_stack_limit(uint32_t* value) { stack_limit_ = value; }
- V8_DEPRECATE_SOON("Unused, will be removed",
- int max_available_threads() const) {
+ V8_DEPRECATED("Unused, will be removed", int max_available_threads() const) {
return max_available_threads_;
}
// Set the number of threads available to V8, assuming at least 1.
- V8_DEPRECATE_SOON("Unused, will be removed",
- void set_max_available_threads(int value)) {
+ V8_DEPRECATED("Unused, will be removed",
+ void set_max_available_threads(int value)) {
max_available_threads_ = value;
}
size_t code_range_size() const { return code_range_size_; }
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698