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

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

Issue 1149943003: Oilpan: Rename weak callback related methods (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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/MarkingVisitorImpl.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 ba91433ede755cba7e72800e22f500d59dbd80fb..0ce6f4f160e6a1d8d249a5d18cf675f8bcf65198 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -69,7 +69,7 @@ using Address = uint8_t*;
using FinalizationCallback = void (*)(void*);
using VisitorCallback = void (*)(Visitor*, void* self);
using TraceCallback = VisitorCallback;
-using WeakPointerCallback = VisitorCallback;
+using WeakCallback = VisitorCallback;
using EphemeronCallback = VisitorCallback;
// Declare that a class has a pre-finalizer function. The function is called in
@@ -498,8 +498,8 @@ public:
void reportMarkSweepStats(const char* statsName, const ClassAgeCountsMap&) const;
#endif
- void pushWeakPointerCallback(void*, WeakPointerCallback);
- bool popAndInvokeWeakPointerCallback(Visitor*);
+ void pushThreadLocalWeakCallback(void*, WeakCallback);
+ bool popAndInvokeThreadLocalWeakCallback(Visitor*);
size_t objectPayloadSizeForTesting();
void prepareHeapForTermination();
@@ -697,7 +697,7 @@ private:
bool m_shouldFlushHeapDoesNotContainCache;
GCState m_gcState;
- CallbackStack* m_weakCallbackStack;
+ CallbackStack* m_threadLocalWeakCallbackStack;
HashMap<void*, bool (*)(void*, Visitor&)> m_preFinalizers;
v8::Isolate* m_isolate;
« no previous file with comments | « Source/platform/heap/MarkingVisitorImpl.h ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698