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

Unified Diff: include/v8.h

Issue 750813003: Use deadline in IdleNotification. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 6 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 | src/api.cc » ('j') | src/heap/heap.cc » ('J')
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 ef01a5fdd9307cdfd2235aad70c95bdae3c23a0f..db42558ddca850b3b94fb997dfdb2ac4b7d36cc2 100644
--- a/include/v8.h
+++ b/include/v8.h
@@ -4996,8 +4996,12 @@ class V8_EXPORT Isolate {
* The idle_time_in_ms argument specifies the time V8 has to do reduce
* the memory footprint. There is no guarantee that the actual work will be
* done within the time limit.
+ * The deadline argument specifies the deadline V8 has to reduce
+ * the memory footprint. There is no guarantee that the actual work will be
+ * done within the time limit.
*/
bool IdleNotification(int idle_time_in_ms);
+ bool IdleNotification(double deadline);
/**
* Optional notification that the system is running low on memory.
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/heap/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698