| Index: third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| diff --git a/third_party/WebKit/Source/platform/heap/ThreadState.cpp b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| index 9b8d80983accd0a8337e0385f4868bad1b82df09..49262d07e9830a92fb1508ea15de3cd6252620a6 100644
|
| --- a/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/ThreadState.cpp
|
| @@ -1084,6 +1084,15 @@ BasePage* ThreadState::findPageFromAddress(Address address) {
|
| }
|
| return nullptr;
|
| }
|
| +
|
| +bool ThreadState::isAddressInHeapDoesNotContainCache(Address address) {
|
| + // If the cache has been marked as invalidated, it's cleared prior
|
| + // to performing the next GC. Hence, consider the cache as being
|
| + // effectively empty.
|
| + if (m_shouldFlushHeapDoesNotContainCache)
|
| + return false;
|
| + return heap().m_heapDoesNotContainCache->lookup(address);
|
| +}
|
| #endif
|
|
|
| size_t ThreadState::objectPayloadSizeForTesting() {
|
|
|