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

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/api.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..ac21803a768ada01af6e9ec467723b03da609f33 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.
rmcilroy 2014/11/25 14:28:06 nit - mention that deadline_seconds is compared wi
Hannes Payer (out of office) 2014/11/25 16:01:36 Done.
*/
bool IdleNotification(int idle_time_in_ms);
+ bool IdleNotification(double deadline_in_seconds);
/**
* Optional notification that the system is running low on memory.
« no previous file with comments | « no previous file | src/api.cc » ('j') | src/api.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698