Searched refs:OSAllocator (Results 1 - 17 of 17) sorted by relevance

/macosx-10.10.1/WTF-7600.1.24/wtf/
H A DPageReservation.h85 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 DOSAllocatorWin.cpp27 #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 DPageAllocation.h30 #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 DPageAllocationAligned.h29 #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 DPageAllocationAligned.cpp31 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 DOSAllocator.h34 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 DOSAllocatorPosix.cpp27 #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 DTieredMMapArray.h29 #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 DConservativeRoots.cpp52 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 DConservativeRoots.h30 #include <wtf/OSAllocator.h>
H A DSuperRegion.cpp42 m_reservation = PageReservation::reserve(s_fixedHeapMemoryPoolSize + Region::s_regionSize, OSAllocator::JSGCHeapPages);
H A DCopiedSpace.h37 #include <wtf/OSAllocator.h>
H A DRegion.h181 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 DExecutableAllocator.cpp118 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 DExecutableAllocatorFixedVMPool.cpp65 m_reservation = PageReservation::reserveWithGuardPages(fixedExecutableMemoryPoolSize, OSAllocator::JSJITCodePages, EXECUTABLE_POOL_WRITABLE, true);
/macosx-10.10.1/JavaScriptCore-7600.1.17/interpreter/
H A DJSStack.cpp61 m_reservation = PageReservation::reserve(WTF::roundUpToMultipleOf(commitSize, capacity), OSAllocator::JSVMStackPages);
/macosx-10.10.1/JavaScriptCore-7600.1.17/dfg/
H A DDFGAllocator.h205 PageAllocationAligned allocation = PageAllocationAligned::allocate(Region::size(), Region::size(), OSAllocator::JSGCHeapPages);

Completed in 204 milliseconds