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

Unified Diff: third_party/WebKit/Source/platform/heap/MarkingVisitor.h

Issue 2531973002: Simple BlinkGC heap compaction. (Closed)
Patch Set: Clear unused pages before decommitting Created 4 years 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/Source/platform/heap/MarkingVisitor.h
diff --git a/third_party/WebKit/Source/platform/heap/MarkingVisitor.h b/third_party/WebKit/Source/platform/heap/MarkingVisitor.h
index 516ac19dfab814149dfd372b90a37d8651a2898d..b5eb0b471e65792c626ff4ba84395fa46876ceb7 100644
--- a/third_party/WebKit/Source/platform/heap/MarkingVisitor.h
+++ b/third_party/WebKit/Source/platform/heap/MarkingVisitor.h
@@ -48,6 +48,16 @@ class MarkingVisitor final : public Visitor,
}
#endif
+ void registerMovingObjectReference(MovableReference* slot) override {
+ Impl::registerMovingObjectReference(slot);
+ }
+
+ void registerMovingObjectCallback(MovableReference backingStore,
+ MovingObjectCallback callback,
+ void* callbackData) override {
+ Impl::registerMovingObjectCallback(backingStore, callback, callbackData);
+ }
+
bool ensureMarked(const void* objectPointer) override {
return Impl::ensureMarked(objectPointer);
}

Powered by Google App Engine
This is Rietveld 408576698