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

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

Issue 1157933002: Oilpan: introduce eager finalization. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Parameterize Heap::poisonHeap() over ObjectsToPoison 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/core/events/EventTarget.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/GarbageCollected.h
diff --git a/Source/platform/heap/GarbageCollected.h b/Source/platform/heap/GarbageCollected.h
index eeae21fd15849368198d83ed5ec1875d0b6eee6a..87367ea4fbba7a5be5c2dbb5f6a47e58d8db7da9 100644
--- a/Source/platform/heap/GarbageCollected.h
+++ b/Source/platform/heap/GarbageCollected.h
@@ -162,7 +162,7 @@ public:
GC_PLUGIN_IGNORE("crbug.com/456823") NO_SANITIZE_UNRELATED_CAST \
void* operator new(size_t size) \
{ \
- void* object = TYPE::allocateObject(size); \
+ void* object = TYPE::allocateObject(size, IsEagerlyFinalizedType<TYPE>::value); \
ThreadState* state = ThreadStateFor<ThreadingTrait<TYPE>::Affinity>::state(); \
state->enterGCForbiddenScopeIfNeeded(&(reinterpret_cast<TYPE*>(object)->m_mixinConstructorMarker)); \
return object; \
« no previous file with comments | « Source/core/events/EventTarget.h ('k') | Source/platform/heap/Heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698