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

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

Issue 1265103003: Invalidate cross-thread persistents on heap termination. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: simplify the invalidation as ref-clearing Created 5 years, 4 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/PersistentNode.cpp ('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 c098f13abb01baaeb028f556f20bbfca355640a8..0c015aeee37db03a46d4f7c03e250cddb3e39ba8 100644
--- a/Source/platform/heap/ThreadState.h
+++ b/Source/platform/heap/ThreadState.h
@@ -544,7 +544,6 @@ public:
void threadLocalWeakProcessing();
size_t objectPayloadSizeForTesting();
- void prepareHeapForTermination();
// Register the pre-finalizer for the |self| object. This method is normally
// called in the constructor of the |self| object. The class T must have
@@ -705,6 +704,8 @@ private:
void cleanup();
void cleanupPages();
+ void prepareForThreadStateTermination();
+
void invokePreFinalizers();
void takeSnapshot(SnapshotType);
« no previous file with comments | « Source/platform/heap/PersistentNode.cpp ('k') | Source/platform/heap/ThreadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698