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

Side by Side Diff: Source/platform/heap/TraceTraits.h

Issue 1166623002: Oilpan: Remove a visitor parameter from isHeapObjectAlive (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/heap/ThreadState.cpp ('k') | Source/platform/heap/Visitor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef TraceTraits_h 5 #ifndef TraceTraits_h
6 #define TraceTraits_h 6 #define TraceTraits_h
7 7
8 #include "platform/heap/GCInfo.h" 8 #include "platform/heap/GCInfo.h"
9 #include "platform/heap/Heap.h" 9 #include "platform/heap/Heap.h"
10 #include "platform/heap/InlinedGlobalMarkingVisitor.h" 10 #include "platform/heap/InlinedGlobalMarkingVisitor.h"
11 #include "platform/heap/Visitor.h" 11 #include "platform/heap/Visitor.h"
12 #include "wtf/Assertions.h" 12 #include "wtf/Assertions.h"
13 #include "wtf/Deque.h" 13 #include "wtf/Deque.h"
14 #include "wtf/HashCountedSet.h" 14 #include "wtf/HashCountedSet.h"
15 #include "wtf/HashMap.h" 15 #include "wtf/HashMap.h"
16 #include "wtf/HashSet.h" 16 #include "wtf/HashSet.h"
17 #include "wtf/HashTable.h" 17 #include "wtf/HashTable.h"
18 #include "wtf/LinkedHashSet.h" 18 #include "wtf/LinkedHashSet.h"
19 #include "wtf/ListHashSet.h" 19 #include "wtf/ListHashSet.h"
20 #include "wtf/TypeTraits.h" 20 #include "wtf/TypeTraits.h"
21 #include "wtf/Vector.h" 21 #include "wtf/Vector.h"
22 22
23 namespace blink { 23 namespace blink {
24 24
25 template<typename T> class CrossThreadPersistent; 25 template<typename T> class CrossThreadPersistent;
26 template<typename T> struct GCInfoTrait; 26 template<typename T> struct GCInfoTrait;
27 class HeapObjectHeader; 27 class HeapObjectHeader;
28 template<typename T> class Member; 28 template<typename T> class Member;
29 template<typename T, bool> class NeedsAdjustAndMark;
30 template<typename T> class TraceTrait; 29 template<typename T> class TraceTrait;
31 template<typename T> class WeakMember; 30 template<typename T> class WeakMember;
32 31
33 template<typename T, bool = NeedsAdjustAndMark<T>::value> class DefaultTraceTrai t; 32 template<typename T, bool = NeedsAdjustAndMark<T>::value> class DefaultTraceTrai t;
34 33
35 template<typename T> 34 template<typename T>
36 class DefaultTraceTrait<T, false> { 35 class DefaultTraceTrait<T, false> {
37 public: 36 public:
38 template<typename VisitorDispatcher> 37 template<typename VisitorDispatcher>
39 static void mark(VisitorDispatcher visitor, const T* t) 38 static void mark(VisitorDispatcher visitor, const T* t)
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 // since iterating over the hash table backing will find the whole 568 // since iterating over the hash table backing will find the whole
570 // chain. 569 // chain.
571 visitor->markNoTracing(node); 570 visitor->markNoTracing(node);
572 return false; 571 return false;
573 } 572 }
574 }; 573 };
575 574
576 } // namespace WTF 575 } // namespace WTF
577 576
578 #endif 577 #endif
OLDNEW
« no previous file with comments | « Source/platform/heap/ThreadState.cpp ('k') | Source/platform/heap/Visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698