/macosx-10.10.1/WTF-7600.1.24/wtf/ |
H A D | PageReservation.h | 85 OSAllocator::commit(start, size, m_writable, m_executable); 96 OSAllocator::decommit(start, size); 104 static PageReservation reserve(size_t size, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true, bool executable = false) argument 107 return PageReservation(OSAllocator::reserveUncommitted(size, usage, writable, executable), size, writable, executable, false); 110 static PageReservation reserveWithGuardPages(size_t size, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true, bool executable = false) argument 113 return PageReservation(OSAllocator::reserveUncommitted(size + pageSize() * 2, usage, writable, executable, true), size, writable, executable, true); 128 OSAllocator::releaseDecommitted(tmp.base(), tmp.size());
|
H A D | OSAllocatorWin.cpp | 27 #include "OSAllocator.h" 43 void* OSAllocator::reserveUncommitted(size_t bytes, Usage, bool writable, bool executable, bool) 51 void* OSAllocator::reserveAndCommit(size_t bytes, Usage, bool writable, bool executable, bool) 59 void OSAllocator::commit(void* address, size_t bytes, bool writable, bool executable) 66 void OSAllocator::decommit(void* address, size_t bytes) 81 void OSAllocator::releaseDecommitted(void* address, size_t bytes) 83 // See comment in OSAllocator::decommit(). Similarly, when bytes is 0, we
|
H A D | PageAllocation.h | 30 #include <wtf/OSAllocator.h> 89 static PageAllocation allocate(size_t size, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true, bool executable = false) argument 92 return PageAllocation(OSAllocator::reserveAndCommit(size, usage, writable, executable), size); 105 OSAllocator::decommitAndRelease(tmp.base(), tmp.size());
|
H A D | PageAllocationAligned.h | 29 #include <wtf/OSAllocator.h> 44 WTF_EXPORT_PRIVATE static PageAllocationAligned allocate(size_t size, size_t alignment, OSAllocator::Usage usage = OSAllocator::UnknownUsage, bool writable = true);
|
H A D | PageAllocationAligned.cpp | 31 PageAllocationAligned PageAllocationAligned::allocate(size_t size, size_t alignment, OSAllocator::Usage usage, bool writable) 41 if (usage != OSAllocator::UnknownUsage) 55 void* reservationBase = OSAllocator::reserveUncommitted(reservationSize, usage, writable, false); 61 OSAllocator::commit(alignedBase, size, writable, false); 81 OSAllocator::decommitAndRelease(tmp.m_reservation.base(), tmp.m_reservation.size(), tmp.base(), tmp.size());
|
H A D | OSAllocator.h | 34 class OSAllocator { class in namespace:WTF 75 inline void* OSAllocator::reserveAndCommit(size_t reserveSize, size_t commitSize, Usage usage, bool writable, bool executable) 82 inline void OSAllocator::decommitAndRelease(void* releaseBase, size_t releaseSize, void* decommitBase, size_t decommitSize) 96 inline void OSAllocator::decommitAndRelease(void* base, size_t size) 102 inline T* OSAllocator::reallocateCommitted(T* oldBase, size_t oldSize, size_t newSize, Usage usage, bool writable, bool executable) 112 using WTF::OSAllocator;
|
H A D | OSAllocatorPosix.cpp | 27 #include "OSAllocator.h" 38 void* OSAllocator::reserveUncommitted(size_t bytes, Usage usage, bool writable, bool executable, bool includesGuardPages) 62 void* OSAllocator::reserveAndCommit(size_t bytes, Usage usage, bool writable, bool executable, bool includesGuardPages) 123 void OSAllocator::commit(void* address, size_t bytes, bool writable, bool executable) 147 void OSAllocator::decommit(void* address, size_t bytes) 165 void OSAllocator::releaseDecommitted(void* address, size_t bytes)
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/tools/ |
H A D | TieredMMapArray.h | 29 #include <wtf/OSAllocator.h> 44 , m_directory(static_cast<T**>(OSAllocator::reserveAndCommit(m_directoryCount * sizeof(T*)))) 58 OSAllocator::decommitAndRelease(m_directory[block], entriesPerBlock * sizeof(T)); 61 OSAllocator::decommitAndRelease(m_directory, m_directoryCount * sizeof(T*)); 82 m_directory = OSAllocator::reallocateCommitted(m_directory, oldDirectorySize, newDirectorySize); 97 m_directory[block] = static_cast<T*>(OSAllocator::reserveAndCommit(entriesPerBlock * sizeof(T)));
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/heap/ |
H A D | ConservativeRoots.cpp | 52 OSAllocator::decommitAndRelease(m_roots, m_capacity * sizeof(JSCell*)); 58 JSCell** newRoots = static_cast<JSCell**>(OSAllocator::reserveAndCommit(newCapacity * sizeof(JSCell*))); 61 OSAllocator::decommitAndRelease(m_roots, m_capacity * sizeof(JSCell*));
|
H A D | ConservativeRoots.h | 30 #include <wtf/OSAllocator.h>
|
H A D | SuperRegion.cpp | 42 m_reservation = PageReservation::reserve(s_fixedHeapMemoryPoolSize + Region::s_regionSize, OSAllocator::JSGCHeapPages);
|
H A D | CopiedSpace.h | 37 #include <wtf/OSAllocator.h>
|
H A D | Region.h | 181 PageAllocationAligned allocation = PageAllocationAligned::allocate(s_regionSize, s_regionSize, OSAllocator::JSGCHeapPages); 188 PageAllocationAligned allocation = PageAllocationAligned::allocate(blockSize, blockAlignment, OSAllocator::JSGCHeapPages);
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/jit/ |
H A D | ExecutableAllocator.cpp | 118 PageReservation reservation = PageReservation::reserve(numPages * pageSize(), OSAllocator::JSJITCodePages, EXECUTABLE_POOL_WRITABLE, true); 128 OSAllocator::commit(page, pageSize(), EXECUTABLE_POOL_WRITABLE, true); 133 OSAllocator::decommit(page, pageSize());
|
H A D | ExecutableAllocatorFixedVMPool.cpp | 65 m_reservation = PageReservation::reserveWithGuardPages(fixedExecutableMemoryPoolSize, OSAllocator::JSJITCodePages, EXECUTABLE_POOL_WRITABLE, true);
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/interpreter/ |
H A D | JSStack.cpp | 61 m_reservation = PageReservation::reserve(WTF::roundUpToMultipleOf(commitSize, capacity), OSAllocator::JSVMStackPages);
|
/macosx-10.10.1/JavaScriptCore-7600.1.17/dfg/ |
H A D | DFGAllocator.h | 205 PageAllocationAligned allocation = PageAllocationAligned::allocate(Region::size(), Region::size(), OSAllocator::JSGCHeapPages);
|