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

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

Issue 765673004: Oilpan: support eager tracing of objects when marking. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Tidying up Created 6 years 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/HeapLinkedStack.h ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/HeapTerminatedArray.h
diff --git a/Source/platform/heap/HeapTerminatedArray.h b/Source/platform/heap/HeapTerminatedArray.h
index de1cd4649b94b433fb7e3354e9d71446fd491950..fbead0d83a5bcef0e2c91a04a23bd8eccb6c5df0 100644
--- a/Source/platform/heap/HeapTerminatedArray.h
+++ b/Source/platform/heap/HeapTerminatedArray.h
@@ -49,6 +49,12 @@ private:
template<typename U, template <typename> class> friend class WTF::TerminatedArrayBuilder;
};
+template<typename T>
+class TraceEagerlyTrait<HeapTerminatedArray<T> > {
+public:
+ static const bool value = IS_EAGERLY_TRACED_HEAP_COLLECTION(T);
+};
+
} // namespace blink
#endif // HeapTerminatedArray_h
« no previous file with comments | « Source/platform/heap/HeapLinkedStack.h ('k') | Source/platform/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698