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

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: rebase 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..d483405287972c99c2c59c453d3e4736091eebe2 100644
--- a/third_party/WebKit/public/web/WebKit.h
+++ b/third_party/WebKit/public/web/WebKit.h
@@ -35,6 +35,7 @@
namespace v8 {
class Isolate;
+enum class MemoryPressureLevel;
}
namespace blink {
@@ -84,6 +85,10 @@ BLINK_EXPORT void resetPluginCache(bool reloadPages = false);
// performance and memory usage.
BLINK_EXPORT void decommitFreeableMemory();
+// Send memory pressure notification to worker thread isolate.
+BLINK_EXPORT void MemoryPressureNotificationToWorkerThreadIsolates(
+ v8::MemoryPressureLevel);
+
} // namespace blink
#endif

Powered by Google App Engine
This is Rietveld 408576698