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

Side by Side Diff: Source/platform/heap/MarkingVisitor.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
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 MarkingVisitor_h 5 #ifndef MarkingVisitor_h
6 #define MarkingVisitor_h 6 #define MarkingVisitor_h
7 7
8 #include "platform/heap/MarkingVisitorImpl.h" 8 #include "platform/heap/MarkingVisitorImpl.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 Impl::registerWeakTable(closure, iterationCallback, iterationDoneCallbac k); 51 Impl::registerWeakTable(closure, iterationCallback, iterationDoneCallbac k);
52 } 52 }
53 53
54 #if ENABLE(ASSERT) 54 #if ENABLE(ASSERT)
55 virtual bool weakTableRegistered(const void* closure) 55 virtual bool weakTableRegistered(const void* closure)
56 { 56 {
57 return Impl::weakTableRegistered(closure); 57 return Impl::weakTableRegistered(closure);
58 } 58 }
59 #endif 59 #endif
60 60
61 virtual bool isMarked(const void* objectPointer) override
62 {
63 return Impl::isMarked(objectPointer);
64 }
65
66 virtual bool ensureMarked(const void* objectPointer) override 61 virtual bool ensureMarked(const void* objectPointer) override
67 { 62 {
68 return Impl::ensureMarked(objectPointer); 63 return Impl::ensureMarked(objectPointer);
69 } 64 }
70 65
71 #if ENABLE(GC_PROFILING) 66 #if ENABLE(GC_PROFILING)
72 virtual void recordObjectGraphEdge(const void* objectPointer) override 67 virtual void recordObjectGraphEdge(const void* objectPointer) override
73 { 68 {
74 MutexLocker locker(objectGraphMutex()); 69 MutexLocker locker(objectGraphMutex());
75 String className(classOf(objectPointer)); 70 String className(classOf(objectPointer));
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 virtual void checkMarkingAllowed() override 195 virtual void checkMarkingAllowed() override
201 { 196 {
202 ASSERT(ThreadState::current()->isInGC()); 197 ASSERT(ThreadState::current()->isInGC());
203 } 198 }
204 #endif 199 #endif
205 }; 200 };
206 201
207 } // namespace blink 202 } // namespace blink
208 203
209 #endif 204 #endif
OLDNEW
« no previous file with comments | « Source/platform/heap/InlinedGlobalMarkingVisitor.h ('k') | Source/platform/heap/MarkingVisitorImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698