Address 54 Source/platform/heap/Heap.cpp static Address roundToBlinkPageBoundary(void* base) Address 56 Source/platform/heap/Heap.cpp return reinterpret_cast<Address>((reinterpret_cast<uintptr_t>(base) + blinkPageOffsetMask) & blinkPageBaseMask); Address 82 Source/platform/heap/Heap.cpp MemoryRegion(Address base, size_t size) : m_base(base), m_size(size) { ASSERT(size > 0); } Address 84 Source/platform/heap/Heap.cpp bool contains(Address addr) const Address 134 Source/platform/heap/Heap.cpp Address base() const { return m_base; } Address 137 Source/platform/heap/Heap.cpp Address m_base; Address 159 Source/platform/heap/Heap.cpp Address writableStart() { return m_writable.base(); } Address 182 Source/platform/heap/Heap.cpp Address base = static_cast<Address>(mmap(0, allocationSize, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0)); Address 185 Source/platform/heap/Heap.cpp Address end = base + allocationSize; Address 186 Source/platform/heap/Heap.cpp Address alignedBase = roundToBlinkPageBoundary(base); Address 187 Source/platform/heap/Heap.cpp Address payloadBase = alignedBase + osPageSize(); Address 188 Source/platform/heap/Heap.cpp Address payloadEnd = payloadBase + payloadSize; Address 189 Source/platform/heap/Heap.cpp Address blinkPageEnd = payloadEnd + osPageSize(); Address 207 Source/platform/heap/Heap.cpp Address base = 0; Address 208 Source/platform/heap/Heap.cpp Address alignedBase = 0; Address 216 Source/platform/heap/Heap.cpp base = static_cast<Address>(VirtualAlloc(0, allocationSize, MEM_RESERVE, PAGE_NOACCESS)); Address 221 Source/platform/heap/Heap.cpp base = static_cast<Address>(VirtualAlloc(alignedBase, payloadSize + 2 * osPageSize(), MEM_RESERVE, PAGE_NOACCESS)); Address 232 Source/platform/heap/Heap.cpp base = static_cast<Address>(VirtualAlloc(0, allocationSize, MEM_RESERVE, PAGE_NOACCESS)); Address 241 Source/platform/heap/Heap.cpp Address payloadBase = alignedBase + osPageSize(); Address 335 Source/platform/heap/Heap.cpp Address addr = reinterpret_cast<Address>(const_cast<void*>(payload)); Address 341 Source/platform/heap/Heap.cpp void HeapObjectHeader::finalize(const GCInfo* gcInfo, Address object, size_t objectSize) Address 374 Source/platform/heap/Heap.cpp bool LargeHeapObject<Header>::checkAndMarkPointer(Visitor* visitor, Address address) Address 411 Source/platform/heap/Heap.cpp Address addr = reinterpret_cast<Address>(const_cast<void*>(payload)); Address 440 Source/platform/heap/Heap.cpp Address ThreadHeap<Header>::outOfLineAllocate(size_t size, const GCInfo* gcInfo) Address 491 Source/platform/heap/Heap.cpp BaseHeapPage* ThreadHeap<Header>::heapPageFromAddress(Address address) Address 501 Source/platform/heap/Heap.cpp BaseHeapPage* ThreadHeap<Header>::largeHeapObjectFromAddress(Address address) Address 511 Source/platform/heap/Heap.cpp bool ThreadHeap<Header>::checkAndMarkLargeHeapObject(Visitor* visitor, Address address) Address 521 Source/platform/heap/Heap.cpp void ThreadHeap<Header>::addToFreeList(Address address, size_t size) Address 555 Source/platform/heap/Heap.cpp Address ThreadHeap<Header>::allocateLargeObject(size_t size, const GCInfo* gcInfo) Address 575 Source/platform/heap/Heap.cpp Address largeObjectAddress = pageMemory->writableStart(); Address 576 Source/platform/heap/Heap.cpp Address headerAddress = largeObjectAddress + sizeof(LargeHeapObject<Header>) + headerPadding<Header>(); Address 579 Source/platform/heap/Heap.cpp Address result = headerAddress + sizeof(*header); Address 745 Source/platform/heap/Heap.cpp Address end = page->end(); Address 746 Source/platform/heap/Heap.cpp Address headerAddress; Address 843 Source/platform/heap/Heap.cpp ASSERT(isPageHeaderAddress(reinterpret_cast<Address>(this))); Address 865 Source/platform/heap/Heap.cpp Address headerAddress = payload(); Address 889 Source/platform/heap/Heap.cpp Address startOfGap = payload(); Address 890 Source/platform/heap/Heap.cpp for (Address headerAddress = startOfGap; headerAddress < end(); ) { Address 926 Source/platform/heap/Heap.cpp for (Address headerAddress = payload(); headerAddress < end();) { Address 939 Source/platform/heap/Heap.cpp Address start = payload(); Address 940 Source/platform/heap/Heap.cpp for (Address headerAddress = start; headerAddress < end();) { Address 979 Source/platform/heap/Heap.cpp bool HeapPage<Header>::checkAndMarkPointer(Visitor* visitor, Address addr) Address 998 Source/platform/heap/Heap.cpp Address objectAddress = objectOffset + payload(); Address 1011 Source/platform/heap/Heap.cpp for (Address headerAddress = payload(); headerAddress < end(); ) { Address 1066 Source/platform/heap/Heap.cpp size_t HeapContainsCache::hash(Address address) Address 1075 Source/platform/heap/Heap.cpp bool HeapContainsCache::lookup(Address address, BaseHeapPage** page) Address 1080 Source/platform/heap/Heap.cpp Address cachePage = roundToBlinkPageStart(address); Address 1093 Source/platform/heap/Heap.cpp void HeapContainsCache::addEntry(Address address, BaseHeapPage* page) Address 1097 Source/platform/heap/Heap.cpp Address cachePage = roundToBlinkPageStart(address); Address 1247 Source/platform/heap/Heap.cpp BaseHeapPage* Heap::contains(Address address) Address 1259 Source/platform/heap/Heap.cpp Address Heap::checkAndMarkPointer(Visitor* visitor, Address address) Address 1294 Source/platform/heap/Heap.cpp BaseHeapPage* heapPageForObject = reinterpret_cast<BaseHeapPage*>(pageHeaderAddress(reinterpret_cast<Address>(object))); Address 83 Source/platform/heap/Heap.h inline Address roundToBlinkPageStart(Address address) Address 85 Source/platform/heap/Heap.h return reinterpret_cast<Address>(reinterpret_cast<uintptr_t>(address) & blinkPageBaseMask); Address 97 Source/platform/heap/Heap.h inline Address blinkPageAddress(Address address) Address 99 Source/platform/heap/Heap.h return reinterpret_cast<Address>(reinterpret_cast<uintptr_t>(address) & blinkPageBaseMask); Address 107 Source/platform/heap/Heap.h inline bool isPageHeaderAddress(Address address) Address 117 Source/platform/heap/Heap.h PLATFORM_EXPORT inline Address pageHeaderAddress(Address address) Address 131 Source/platform/heap/Heap.h ASSERT(isPageHeaderAddress(reinterpret_cast<Address>(this))); Address 144 Source/platform/heap/Heap.h virtual bool checkAndMarkPointer(Visitor*, Address) = 0; Address 146 Source/platform/heap/Heap.h Address address() { return reinterpret_cast<Address>(this); } Address 181 Source/platform/heap/Heap.h virtual bool checkAndMarkPointer(Visitor*, Address); Address 194 Source/platform/heap/Heap.h bool contains(Address object) Address 209 Source/platform/heap/Heap.h Address payload() { return heapObjectHeader()->payload(); } Address 214 Source/platform/heap/Heap.h Address headerAddress = address() + sizeof(LargeHeapObject<Header>) + headerPadding<Header>(); Address 286 Source/platform/heap/Heap.h inline Address payload(); Address 288 Source/platform/heap/Heap.h inline Address payloadEnd(); Address 299 Source/platform/heap/Heap.h static void finalize(const GCInfo*, Address, size_t); Address 327 Source/platform/heap/Heap.h inline Address payload(); Address 360 Source/platform/heap/Heap.h reinterpret_cast<Address>(this)[i] = freelistZapValue; Address 366 Source/platform/heap/Heap.h Address address() { return reinterpret_cast<Address>(this); } Address 423 Source/platform/heap/Heap.h bool contains(Address addr) Address 425 Source/platform/heap/Heap.h Address blinkPageStart = roundToBlinkPageStart(address()); Address 431 Source/platform/heap/Heap.h Address payload() Address 441 Source/platform/heap/Heap.h Address end() { return payload() + payloadSize(); } Address 448 Source/platform/heap/Heap.h virtual bool checkAndMarkPointer(Visitor*, Address); Address 487 Source/platform/heap/Heap.h bool contains(Address); Address 499 Source/platform/heap/Heap.h bool lookup(Address, BaseHeapPage**); Address 503 Source/platform/heap/Heap.h void addEntry(Address, BaseHeapPage*); Address 514 Source/platform/heap/Heap.h Entry(Address address, BaseHeapPage* containingPage) Address 521 Source/platform/heap/Heap.h Address address() { return m_address; } Address 524 Source/platform/heap/Heap.h Address m_address; Address 531 Source/platform/heap/Heap.h static size_t hash(Address); Address 606 Source/platform/heap/Heap.h virtual BaseHeapPage* heapPageFromAddress(Address) = 0; Address 611 Source/platform/heap/Heap.h virtual BaseHeapPage* largeHeapObjectFromAddress(Address) = 0; Address 623 Source/platform/heap/Heap.h virtual bool checkAndMarkLargeHeapObject(Visitor*, Address) = 0; Address 666 Source/platform/heap/Heap.h virtual BaseHeapPage* heapPageFromAddress(Address); Address 667 Source/platform/heap/Heap.h virtual BaseHeapPage* largeHeapObjectFromAddress(Address); Address 668 Source/platform/heap/Heap.h virtual bool checkAndMarkLargeHeapObject(Visitor*, Address); Address 684 Source/platform/heap/Heap.h inline Address allocate(size_t, const GCInfo*); Address 685 Source/platform/heap/Heap.h void addToFreeList(Address, size_t); Address 717 Source/platform/heap/Heap.h PLATFORM_EXPORT Address outOfLineAllocate(size_t, const GCInfo*); Address 720 Source/platform/heap/Heap.h PLATFORM_EXPORT Address allocateLargeObject(size_t, const GCInfo*); Address 721 Source/platform/heap/Heap.h Address currentAllocationPoint() const { return m_currentAllocationPoint; } Address 724 Source/platform/heap/Heap.h void setAllocationPoint(Address point, size_t size) Address 741 Source/platform/heap/Heap.h Address m_currentAllocationPoint; Address 768 Source/platform/heap/Heap.h static BaseHeapPage* contains(Address); Address 769 Source/platform/heap/Heap.h static BaseHeapPage* contains(void* pointer) { return contains(reinterpret_cast<Address>(pointer)); } Address 799 Source/platform/heap/Heap.h template<typename T> static Address allocate(size_t); Address 800 Source/platform/heap/Heap.h template<typename T> static Address reallocate(void* previous, size_t); Address 809 Source/platform/heap/Heap.h static Address checkAndMarkPointer(Visitor*, Address); Address 982 Source/platform/heap/Heap.h ASSERT(ThreadStateFor<ThreadingTrait<T>::Affinity>::state()->contains(reinterpret_cast<Address>(this))); Address 1115 Source/platform/heap/Heap.h Address HeapObjectHeader::payload() Address 1117 Source/platform/heap/Heap.h return reinterpret_cast<Address>(this) + objectHeaderSize; Address 1125 Source/platform/heap/Heap.h Address HeapObjectHeader::payloadEnd() Address 1127 Source/platform/heap/Heap.h return reinterpret_cast<Address>(this) + size(); Address 1137 Source/platform/heap/Heap.h Address FinalizedHeapObjectHeader::payload() Address 1139 Source/platform/heap/Heap.h return reinterpret_cast<Address>(this) + finalizedHeaderSize; Address 1164 Source/platform/heap/Heap.h Address ThreadHeap<Header>::allocate(size_t size, const GCInfo* gcInfo) Address 1172 Source/platform/heap/Heap.h Address headerAddress = m_currentAllocationPoint; Address 1178 Source/platform/heap/Heap.h Address result = headerAddress + sizeof(*header); Address 1190 Source/platform/heap/Heap.h Address Heap::allocate(size_t size) Address 1195 Source/platform/heap/Heap.h Address addr = Address 1203 Source/platform/heap/Heap.h Address Heap::reallocate(void* previous, size_t size) Address 1218 Source/platform/heap/Heap.h Address address = static_cast<typename HeapTrait<T>::HeapType*>(heap)->allocate(size, GCInfoTrait<T>::get()); Address 1584 Source/platform/heap/HeapTest.cpp EXPECT_NE(pageHeaderAddress(reinterpret_cast<Address>(generalHeapObject.get())), Address 1585 Source/platform/heap/HeapTest.cpp pageHeaderAddress(reinterpret_cast<Address>(typedHeapObject.get()))); Address 1634 Source/platform/heap/HeapTest.cpp EXPECT_TRUE(reinterpret_cast<Address>(foo) != reinterpret_cast<Address>(bar.get())); Address 2838 Source/platform/heap/HeapTest.cpp Vector<Address> objectAddresses; Address 2839 Source/platform/heap/HeapTest.cpp Vector<Address> endAddresses; Address 2840 Source/platform/heap/HeapTest.cpp Address largeObjectAddress; Address 2841 Source/platform/heap/HeapTest.cpp Address largeObjectEndAddress; Address 2845 Source/platform/heap/HeapTest.cpp Address objectAddress = reinterpret_cast<Address>(object); Address 2850 Source/platform/heap/HeapTest.cpp largeObjectAddress = reinterpret_cast<Address>(largeObject); Address 58 Source/platform/heap/ThreadState.cpp return reinterpret_cast<Address>(base) + size; Address 350 Source/platform/heap/ThreadState.cpp void ThreadState::visitAsanFakeStackForPointer(Visitor* visitor, Address ptr) Address 353 Source/platform/heap/ThreadState.cpp Address* start = reinterpret_cast<Address*>(m_startOfStack); Address 354 Source/platform/heap/ThreadState.cpp Address* end = reinterpret_cast<Address*>(m_endOfStack); Address 355 Source/platform/heap/ThreadState.cpp Address* fakeFrameStart = 0; Address 356 Source/platform/heap/ThreadState.cpp Address* fakeFrameEnd = 0; Address 357 Source/platform/heap/ThreadState.cpp Address* maybeFakeFrame = reinterpret_cast<Address*>(ptr); Address 358 Source/platform/heap/ThreadState.cpp Address* realFrameForFakeFrame = Address 359 Source/platform/heap/ThreadState.cpp reinterpret_cast<Address*>( Address 370 Source/platform/heap/ThreadState.cpp for (Address* p = fakeFrameStart; p < fakeFrameEnd; p++) Address 380 Source/platform/heap/ThreadState.cpp Address* start = reinterpret_cast<Address*>(m_startOfStack); Address 386 Source/platform/heap/ThreadState.cpp Address* end = reinterpret_cast<Address*>(m_endOfStack); Address 387 Source/platform/heap/ThreadState.cpp Address* safePointScopeMarker = reinterpret_cast<Address*>(m_safePointScopeMarker); Address 388 Source/platform/heap/ThreadState.cpp Address* current = safePointScopeMarker ? safePointScopeMarker : end; Address 392 Source/platform/heap/ThreadState.cpp current = reinterpret_cast<Address*>(reinterpret_cast<intptr_t>(current) & ~(sizeof(Address) - 1)); Address 399 Source/platform/heap/ThreadState.cpp for (Vector<Address>::iterator it = m_safePointStackCopy.begin(); it != m_safePointStackCopy.end(); ++it) { Address 417 Source/platform/heap/ThreadState.cpp bool ThreadState::checkAndMarkPointer(Visitor* visitor, Address address) Address 585 Source/platform/heap/ThreadState.cpp BaseHeapPage* ThreadState::heapPageFromAddress(Address address) Address 595 Source/platform/heap/ThreadState.cpp Address blinkPageAddr = roundToBlinkPageStart(address); Address 606 Source/platform/heap/ThreadState.cpp BaseHeapPage* ThreadState::contains(Address address) Address 663 Source/platform/heap/ThreadState.cpp Address start = reinterpret_cast<Address>(getStackStart()); Address 664 Source/platform/heap/ThreadState.cpp Address end = reinterpret_cast<Address>(&start); Address 671 Source/platform/heap/ThreadState.cpp const size_t bytesToCopy = sizeof(Address) * 256; Address 711 Source/platform/heap/ThreadState.cpp Address* to = reinterpret_cast<Address*>(m_safePointScopeMarker); Address 712 Source/platform/heap/ThreadState.cpp Address* from = reinterpret_cast<Address*>(m_endOfStack); Address 714 Source/platform/heap/ThreadState.cpp RELEASE_ASSERT(to < reinterpret_cast<Address*>(m_startOfStack)); Address 466 Source/platform/heap/ThreadState.h BaseHeapPage* contains(Address); Address 467 Source/platform/heap/ThreadState.h BaseHeapPage* contains(void* pointer) { return contains(reinterpret_cast<Address>(pointer)); } Address 483 Source/platform/heap/ThreadState.h void visitAsanFakeStackForPointer(Visitor*, Address); Address 490 Source/platform/heap/ThreadState.h bool checkAndMarkPointer(Visitor*, Address); Address 519 Source/platform/heap/ThreadState.h BaseHeapPage* heapPageFromAddress(Address); Address 554 Source/platform/heap/ThreadState.h Vector<Address> m_safePointStackCopy; Address 51 Source/platform/heap/Visitor.cpp Address addr = pageHeaderAddress(reinterpret_cast<Address>(object)); \