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

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

Issue 2701623003: Remove BlinkGCInterruptor (Closed)
Patch Set: Created 3 years, 10 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/platform/heap/ThreadState.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/ThreadState.cpp
diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
index d1d0619cf99dad6d177d4a06183f0aebf9aff91f..a41c70bd4385a11c132162fa51d5db9bea8726ba 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
@@ -105,7 +105,6 @@ ThreadState::ThreadState()
m_startOfStack(reinterpret_cast<intptr_t*>(WTF::getStackStart())),
m_endOfStack(reinterpret_cast<intptr_t*>(WTF::getStackStart())),
m_safePointScopeMarker(nullptr),
- m_interruptors(),
m_sweepForbidden(false),
m_noAllocationCount(0),
m_gcForbiddenCount(0),
@@ -1203,16 +1202,6 @@ void ThreadState::copyStackUntilSafePointScope() {
}
}
-void ThreadState::addInterruptor(
- std::unique_ptr<BlinkGCInterruptor> interruptor) {
- ASSERT(checkThread());
- SafePointScope scope(BlinkGC::HeapPointersOnStack);
- {
- MutexLocker locker(m_heap->threadAttachMutex());
- m_interruptors.push_back(std::move(interruptor));
- }
-}
-
void ThreadState::registerStaticPersistentNode(
PersistentNode* node,
PersistentClearCallback callback) {
« no previous file with comments | « third_party/WebKit/Source/platform/heap/ThreadState.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698