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

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

Issue 1919793002: Revert of Add enablePerThreadHeap flag to ThreadState (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 572810db2ddc431d87214d24be63fe8f2ae56589..255c5c627515f749f1a8e327a35304ec2dcbdc4a 100644
--- a/third_party/WebKit/Source/platform/heap/ThreadState.h
+++ b/third_party/WebKit/Source/platform/heap/ThreadState.h
@@ -173,8 +173,6 @@
void lockThreadAttachMutex();
void unlockThreadAttachMutex();
- bool perThreadHeapEnabled() const { return m_perThreadHeapEnabled; }
-
bool isTerminating() { return m_isTerminating; }
static void attachMainThread();
@@ -184,7 +182,7 @@
// Associate ThreadState object with the current thread. After this
// call thread can start using the garbage collected heap infrastructure.
// It also has to periodically check for safepoints.
- static void attachCurrentThread(bool perThreadHeapEnabled);
+ static void attachCurrentThread();
// Disassociate attached ThreadState from the current thread. The thread
// can no longer use the garbage collected heap after this call.
@@ -529,7 +527,7 @@
FreelistSnapshot
};
- ThreadState(bool perThreadHeapEnabled);
+ ThreadState();
~ThreadState();
NO_SANITIZE_ADDRESS void copyStackUntilSafePointScope();
@@ -639,7 +637,6 @@
size_t m_arenaAges[BlinkGC::NumberOfArenas];
size_t m_currentArenaAges;
- bool m_perThreadHeapEnabled;
bool m_isTerminating;
GarbageCollectedMixinConstructorMarker* m_gcMixinMarker;
« no previous file with comments | « third_party/WebKit/Source/platform/heap/HeapTest.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