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

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

Issue 2703713003: Remove SafePointBarrier (Closed)
Patch Set: temp 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/Heap.h ('k') | third_party/WebKit/Source/platform/heap/SafePoint.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/heap/Heap.cpp
diff --git a/third_party/WebKit/Source/platform/heap/Heap.cpp b/third_party/WebKit/Source/platform/heap/Heap.cpp
index b5665c53f93c821ea55d8207811f81d9ae528f80..97ce82652ee13f4f0faa6d619a769c9dda901936 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.cpp
+++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
@@ -148,7 +148,6 @@ void ThreadHeapStats::decreaseAllocatedSpace(size_t delta) {
ThreadHeap::ThreadHeap()
: m_regionTree(WTF::makeUnique<RegionTree>()),
m_heapDoesNotContainCache(WTF::wrapUnique(new HeapDoesNotContainCache)),
- m_safePointBarrier(WTF::makeUnique<SafePointBarrier>()),
m_freePagePool(WTF::wrapUnique(new PagePool)),
m_markingStack(CallbackStack::create()),
m_postMarkingCallbackStack(CallbackStack::create()),
@@ -539,14 +538,6 @@ void ThreadHeap::visitStackRoots(Visitor* visitor) {
state->visitStack(visitor);
}
-void ThreadHeap::enterSafePoint(ThreadState* threadState) {
- m_safePointBarrier->enterSafePoint(threadState);
-}
-
-void ThreadHeap::leaveSafePoint() {
- m_safePointBarrier->leaveSafePoint();
-}
-
BasePage* ThreadHeap::lookupPageForAddress(Address address) {
ASSERT(ThreadState::current()->isInGC());
if (PageMemoryRegion* region = m_regionTree->lookup(address)) {
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Heap.h ('k') | third_party/WebKit/Source/platform/heap/SafePoint.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698