Chromium Code Reviews| Index: third_party/WebKit/Source/platform/heap/TraceTraits.h |
| diff --git a/third_party/WebKit/Source/platform/heap/TraceTraits.h b/third_party/WebKit/Source/platform/heap/TraceTraits.h |
| index 5bae4425f4752d695cf3d0e2f8f3d91ccd1325b1..a9b6a64e403eb699cbf8f8f24554a777deffe03d 100644 |
| --- a/third_party/WebKit/Source/platform/heap/TraceTraits.h |
| +++ b/third_party/WebKit/Source/platform/heap/TraceTraits.h |
| @@ -70,8 +70,8 @@ public: |
| // but test and appropriately handle them should they occur |
| // in release builds. |
| // |
| - ASSERT(StackFrameDepth::isAcceptableStackUse()); |
| - if (LIKELY(StackFrameDepth::isSafeToRecurse())) { |
| + DCHECK(visitor->isAcceptableStackUse()); |
| + if (LIKELY(visitor->isAcceptableStackUse())) { |
|
keishi
2016/09/06 12:54:22
I saw a 30% regression with oilpan_gc_times.blink_
haraken
2016/09/06 13:03:11
Hmm? isAcceptableStackUse is just calling isSafeTo
keishi
2016/09/07 05:38:21
I guess the problem with this PS is that it isn't
keishi
2016/09/07 05:39:26
I guess the problem with this CL is that it isn't
|
| if (visitor->ensureMarked(t)) { |
| TraceTrait<T>::trace(visitor, const_cast<T*>(t)); |
| } |