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

Unified Diff: Source/web/WebKit.cpp

Issue 301743006: Report DOM partitionAlloc size to V8 GC. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: track page count Created 6 years, 6 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: Source/web/WebKit.cpp
diff --git a/Source/web/WebKit.cpp b/Source/web/WebKit.cpp
index 550f912c27928b046c1cb7782ecaf16bf6cc6341..7878e6cf5da94b19a77222041c2db1a3e020a67c 100644
--- a/Source/web/WebKit.cpp
+++ b/Source/web/WebKit.cpp
@@ -33,6 +33,7 @@
#include "RuntimeEnabledFeatures.h"
#include "bindings/v8/V8Binding.h"
+#include "bindings/v8/V8GCController.h"
#include "bindings/v8/V8Initializer.h"
#include "core/Init.h"
#include "core/animation/AnimationClock.h"
@@ -75,6 +76,7 @@ public:
virtual void didProcessTask() OVERRIDE
{
WebCore::Microtask::performCheckpoint();
+ WebCore::V8GCController::reportDOMMemoryUsageToV8(mainThreadIsolate());
}
};

Powered by Google App Engine
This is Rietveld 408576698