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

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

Issue 2687833002: Remove prepareForThreadStateTermination() (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
Index: third_party/WebKit/Source/platform/heap/HeapPage.cpp
diff --git a/third_party/WebKit/Source/platform/heap/HeapPage.cpp b/third_party/WebKit/Source/platform/heap/HeapPage.cpp
index 47d5a09141831620ad5e12c7b4aadcf892c837f0..3b48ca8fa9793beacc6257de2ed1cec77e4059ed 100644
--- a/third_party/WebKit/Source/platform/heap/HeapPage.cpp
+++ b/third_party/WebKit/Source/platform/heap/HeapPage.cpp
@@ -225,13 +225,6 @@ size_t BaseArena::objectPayloadSizeForTesting() {
return objectPayloadSize;
}
-void BaseArena::prepareHeapForTermination() {
- ASSERT(!m_firstUnsweptPage);
- for (BasePage* page = m_firstPage; page; page = page->next()) {
- page->setTerminating();
- }
-}
-
void BaseArena::prepareForSweep() {
ASSERT(getThreadState()->isInGC());
ASSERT(!m_firstUnsweptPage);
@@ -1242,7 +1235,6 @@ BasePage::BasePage(PageMemory* storage, BaseArena* arena)
: m_storage(storage),
m_arena(arena),
m_next(nullptr),
- m_terminating(false),
m_swept(true) {
ASSERT(isPageHeaderAddress(reinterpret_cast<Address>(this)));
}
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapPage.h ('k') | third_party/WebKit/Source/platform/heap/ThreadState.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698