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

Unified Diff: third_party/WebKit/public/web/WebKit.h

Issue 1749073002: Do V8 GC ASAP if system memory is pressured (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: send synchronous notification to worker thread Created 4 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
Index: third_party/WebKit/public/web/WebKit.h
diff --git a/third_party/WebKit/public/web/WebKit.h b/third_party/WebKit/public/web/WebKit.h
index 0ee53fd2cc2cd9d50146bc1095a704d84adce1d1..d44ef0200bea8dce50ac88776b7130bf4b2f74ce 100644
--- a/third_party/WebKit/public/web/WebKit.h
+++ b/third_party/WebKit/public/web/WebKit.h
@@ -32,6 +32,7 @@
#define WebKit_h
#include "../platform/Platform.h"
+#include <set>
namespace v8 {
class Isolate;
@@ -84,6 +85,9 @@ BLINK_EXPORT void resetPluginCache(bool reloadPages = false);
// performance and memory usage.
BLINK_EXPORT void decommitFreeableMemory();
+// Get V8 Isolate for worker threads.
+BLINK_EXPORT std::set<v8::Isolate*>* workerThreadIsolates();
+
} // namespace blink
#endif

Powered by Google App Engine
This is Rietveld 408576698