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

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

Issue 2043033002: Trace ScriptWrappableVisitor.m_markingDeque by oilpan gc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix callers of registerTraceDOMWrappers Created 4 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: third_party/WebKit/Source/platform/heap/ThreadState.h
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.h b/third_party/WebKit/Source/platform/heap/ThreadState.h
index 456d154a3a689c083b227afc911945329f6f0716..234e07f232e5aca9d4e53dc2ba31e9e7411909b2 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -418,10 +418,13 @@ public:
void shouldFlushHeapDoesNotContainCache() { m_shouldFlushHeapDoesNotContainCache = true; }
- void registerTraceDOMWrappers(v8::Isolate* isolate, void (*traceDOMWrappers)(v8::Isolate*, Visitor*))
+ void registerTraceDOMWrappers(v8::Isolate* isolate,
+ void (*traceDOMWrappers)(v8::Isolate*, Visitor*),
+ void (*invalidateDeadObjectsInWrappersMarkingDeque)(v8::Isolate*))
{
m_isolate = isolate;
m_traceDOMWrappers = traceDOMWrappers;
+ m_invalidateDeadObjectsInWrappersMarkingDeque = invalidateDeadObjectsInWrappersMarkingDeque;
}
// By entering a gc-forbidden scope, conservative GCs will not
@@ -656,6 +659,7 @@ private:
v8::Isolate* m_isolate;
void (*m_traceDOMWrappers)(v8::Isolate*, Visitor*);
+ void (*m_invalidateDeadObjectsInWrappersMarkingDeque)(v8::Isolate*);
#if defined(ADDRESS_SANITIZER)
void* m_asanFakeStack;
« no previous file with comments | « third_party/WebKit/Source/platform/heap/RunAllTests.cpp ('k') | third_party/WebKit/Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698