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

Unified Diff: include/v8.h

Issue 63173022: Deprecate v8::Locker::{Start,Stop}Preemption (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 1 month 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 d6678c57c5a03ab1eb3e7a937dc1be3a6cc45dcc..f0b627e7b79c16c05f5c64beedb572587889291e 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -5246,19 +5246,11 @@ class V8_EXPORT Locker {
~Locker();
- /**
- * Start preemption.
- *
- * When preemption is started, a timer is fired every n milliseconds
- * that will switch between multiple threads that are in contention
- * for the V8 lock.
- */
- static void StartPreemption(Isolate* isolate, int every_n_ms);
+ V8_DEPRECATED("This will be remvoed.",
+ static void StartPreemption(Isolate *isolate, int every_n_ms));
- /**
- * Stop preemption.
- */
- static void StopPreemption(Isolate* isolate);
+ V8_DEPRECATED("This will be removed",
+ static void StopPreemption(Isolate* isolate));
/**
* Returns whether or not the locker for a given isolate, is locked by the
« 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