| Index: third_party/WebKit/Source/platform/heap/Heap.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/Heap.h b/third_party/WebKit/Source/platform/heap/Heap.h
|
| index ee57a324aee318afc884f8d5a87f278b680c00b8..2660ee5d545d42c69deca10ffbc215cb37ad2cce 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Heap.h
|
| +++ b/third_party/WebKit/Source/platform/heap/Heap.h
|
| @@ -220,8 +220,6 @@ class ThreadHeapStats {
|
| double m_estimatedMarkingTimePerByte;
|
| };
|
|
|
| -using ThreadStateSet = HashSet<ThreadState*>;
|
| -
|
| class PLATFORM_EXPORT ThreadHeap {
|
| public:
|
| ThreadHeap();
|
| @@ -271,8 +269,6 @@ class PLATFORM_EXPORT ThreadHeap {
|
|
|
| StackFrameDepth& stackFrameDepth() { return m_stackFrameDepth; }
|
|
|
| - RecursiveMutex& threadAttachMutex() { return m_threadAttachMutex; }
|
| - const ThreadStateSet& threads() const { return m_threads; }
|
| ThreadHeapStats& heapStats() { return m_stats; }
|
| SafePointBarrier* safePointBarrier() { return m_safePointBarrier.get(); }
|
| CallbackStack* markingStack() const { return m_markingStack.get(); }
|
| @@ -286,8 +282,6 @@ class PLATFORM_EXPORT ThreadHeap {
|
|
|
| void attach(ThreadState*);
|
| void detach(ThreadState*);
|
| - void lockThreadAttachMutex();
|
| - void unlockThreadAttachMutex();
|
|
|
| void visitPersistentRoots(Visitor*);
|
| void visitStackRoots(Visitor*);
|
| @@ -459,8 +453,7 @@ class PLATFORM_EXPORT ThreadHeap {
|
| void commitCallbackStacks();
|
| void decommitCallbackStacks();
|
|
|
| - RecursiveMutex m_threadAttachMutex;
|
| - ThreadStateSet m_threads;
|
| + ThreadState* m_threadState;
|
| ThreadHeapStats m_stats;
|
| std::unique_ptr<RegionTree> m_regionTree;
|
| std::unique_ptr<HeapDoesNotContainCache> m_heapDoesNotContainCache;
|
|
|