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

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

Issue 1168503008: Oilpan: Remove PersistentBase (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | « Source/platform/heap/Handle.h ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/ThreadState.h
diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h
index 6f751368b602c62634fc8160108bafa641981551..35d9b36eae1e5334f66e358a8332e644b961c357 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -57,7 +57,7 @@ class GarbageCollectedMixinConstructorMarker;
class HeapObjectHeader;
class PageMemoryRegion;
class PageMemory;
-class PersistentNode;
+class PersistentAnchor;
class BaseHeap;
class SafePointAwareMutexLocker;
class SafePointBarrier;
@@ -474,11 +474,11 @@ public:
#endif
// List of persistent roots allocated on the given thread.
- PersistentNode* roots() const { return m_persistents.get(); }
+ PersistentAnchor* roots() const { return m_persistents.get(); }
// List of global persistent roots not owned by any particular thread.
// globalRootsMutex must be acquired before any modifications.
- static PersistentNode& globalRoots();
+ static PersistentAnchor& globalRoots();
static Mutex& globalRootsMutex();
// Visit local thread stack and trace all pointers conservatively.
@@ -711,7 +711,7 @@ private:
static uint8_t s_mainThreadStateStorage[];
ThreadIdentifier m_thread;
- OwnPtr<PersistentNode> m_persistents;
+ OwnPtr<PersistentAnchor> m_persistents;
StackState m_stackState;
intptr_t* m_startOfStack;
intptr_t* m_endOfStack;
« no previous file with comments | « Source/platform/heap/Handle.h ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698