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

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

Issue 1949153003: Do V8 GC ASAP if system memory is pressured[reland] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « third_party/WebKit/Source/web/WebKit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698