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

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

Issue 2774473003: Simplify pre+post GC ThreadState steps. (Closed)
Patch Set: Created 3 years, 9 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/Heap.cpp
diff --git a/third_party/WebKit/Source/platform/heap/Heap.cpp b/third_party/WebKit/Source/platform/heap/Heap.cpp
index 57dd6afc9dbb92a8993f952426a5976aa4408a32..6012cf5d579554cdde33ba8c4a8e785de2e99174 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.cpp
+++ b/third_party/WebKit/Source/platform/heap/Heap.cpp
@@ -313,20 +313,6 @@ void ThreadHeap::decommitCallbackStacks() {
m_ephemeronStack->decommit();
}
-void ThreadHeap::preGC() {
- ASSERT(!ThreadState::current()->isInGC());
- m_threadState->preGC();
-}
-
-void ThreadHeap::postGC(BlinkGC::GCType gcType) {
- ASSERT(ThreadState::current()->isInGC());
- m_threadState->postGC(gcType);
-}
-
-void ThreadHeap::preSweep(BlinkGC::GCType gcType) {
- m_threadState->preSweep(gcType);
-}
-
void ThreadHeap::processMarkingStack(Visitor* visitor) {
// Ephemeron fixed point loop.
do {
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Heap.h ('k') | third_party/WebKit/Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698