Home
last modified time | relevance | path

Searched refs:VirtualMemory (Results 1 – 19 of 19) sorted by relevance

/external/v8/src/base/platform/
Dplatform-solaris.cc148 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } in VirtualMemory() function in v8::base::VirtualMemory
151 VirtualMemory::VirtualMemory(size_t size) in VirtualMemory() function in v8::base::VirtualMemory
155 VirtualMemory::VirtualMemory(size_t size, size_t alignment) in VirtualMemory() function in v8::base::VirtualMemory
195 VirtualMemory::~VirtualMemory() { in ~VirtualMemory()
204 bool VirtualMemory::IsReserved() { in IsReserved()
209 void VirtualMemory::Reset() { in Reset()
215 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { in Commit()
220 bool VirtualMemory::Uncommit(void* address, size_t size) { in Uncommit()
225 bool VirtualMemory::Guard(void* address) { in Guard()
231 void* VirtualMemory::ReserveRegion(size_t size) { in ReserveRegion()
[all …]
Dplatform-macos.cc178 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } in VirtualMemory() function in v8::base::VirtualMemory
181 VirtualMemory::VirtualMemory(size_t size) in VirtualMemory() function in v8::base::VirtualMemory
185 VirtualMemory::VirtualMemory(size_t size, size_t alignment) in VirtualMemory() function in v8::base::VirtualMemory
225 VirtualMemory::~VirtualMemory() { in ~VirtualMemory()
234 bool VirtualMemory::IsReserved() { in IsReserved()
239 void VirtualMemory::Reset() { in Reset()
245 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { in Commit()
250 bool VirtualMemory::Uncommit(void* address, size_t size) { in Uncommit()
255 bool VirtualMemory::Guard(void* address) { in Guard()
261 void* VirtualMemory::ReserveRegion(size_t size) { in ReserveRegion()
[all …]
Dplatform-cygwin.cc199 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } in VirtualMemory() function in v8::base::VirtualMemory
202 VirtualMemory::VirtualMemory(size_t size) in VirtualMemory() function in v8::base::VirtualMemory
206 VirtualMemory::VirtualMemory(size_t size, size_t alignment) in VirtualMemory() function in v8::base::VirtualMemory
232 VirtualMemory::~VirtualMemory() { in ~VirtualMemory()
241 bool VirtualMemory::IsReserved() { in IsReserved()
246 void VirtualMemory::Reset() { in Reset()
252 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { in Commit()
257 bool VirtualMemory::Uncommit(void* address, size_t size) { in Uncommit()
263 void* VirtualMemory::ReserveRegion(size_t size) { in ReserveRegion()
268 bool VirtualMemory::CommitRegion(void* base, size_t size, bool is_executable) { in CommitRegion()
[all …]
Dplatform-freebsd.cc176 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } in VirtualMemory() function in v8::base::VirtualMemory
179 VirtualMemory::VirtualMemory(size_t size) in VirtualMemory() function in v8::base::VirtualMemory
183 VirtualMemory::VirtualMemory(size_t size, size_t alignment) in VirtualMemory() function in v8::base::VirtualMemory
223 VirtualMemory::~VirtualMemory() { in ~VirtualMemory()
232 bool VirtualMemory::IsReserved() { in IsReserved()
237 void VirtualMemory::Reset() { in Reset()
243 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { in Commit()
248 bool VirtualMemory::Uncommit(void* address, size_t size) { in Uncommit()
253 bool VirtualMemory::Guard(void* address) { in Guard()
259 void* VirtualMemory::ReserveRegion(size_t size) { in ReserveRegion()
[all …]
Dplatform-openbsd.cc207 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } in VirtualMemory() function in v8::base::VirtualMemory
210 VirtualMemory::VirtualMemory(size_t size) in VirtualMemory() function in v8::base::VirtualMemory
214 VirtualMemory::VirtualMemory(size_t size, size_t alignment) in VirtualMemory() function in v8::base::VirtualMemory
254 VirtualMemory::~VirtualMemory() { in ~VirtualMemory()
263 bool VirtualMemory::IsReserved() { in IsReserved()
268 void VirtualMemory::Reset() { in Reset()
274 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { in Commit()
279 bool VirtualMemory::Uncommit(void* address, size_t size) { in Uncommit()
284 bool VirtualMemory::Guard(void* address) { in Guard()
290 void* VirtualMemory::ReserveRegion(size_t size) { in ReserveRegion()
[all …]
Dplatform-qnx.cc243 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } in VirtualMemory() function in v8::base::VirtualMemory
246 VirtualMemory::VirtualMemory(size_t size) in VirtualMemory() function in v8::base::VirtualMemory
250 VirtualMemory::VirtualMemory(size_t size, size_t alignment) in VirtualMemory() function in v8::base::VirtualMemory
290 VirtualMemory::~VirtualMemory() { in ~VirtualMemory()
299 bool VirtualMemory::IsReserved() { in IsReserved()
304 void VirtualMemory::Reset() { in Reset()
310 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { in Commit()
315 bool VirtualMemory::Uncommit(void* address, size_t size) { in Uncommit()
320 bool VirtualMemory::Guard(void* address) { in Guard()
326 void* VirtualMemory::ReserveRegion(size_t size) { in ReserveRegion()
[all …]
Dplatform-linux.cc300 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } in VirtualMemory() function in v8::base::VirtualMemory
303 VirtualMemory::VirtualMemory(size_t size) in VirtualMemory() function in v8::base::VirtualMemory
307 VirtualMemory::VirtualMemory(size_t size, size_t alignment) in VirtualMemory() function in v8::base::VirtualMemory
350 VirtualMemory::~VirtualMemory() { in ~VirtualMemory()
359 bool VirtualMemory::IsReserved() { in IsReserved()
364 void VirtualMemory::Reset() { in Reset()
370 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { in Commit()
375 bool VirtualMemory::Uncommit(void* address, size_t size) { in Uncommit()
380 bool VirtualMemory::Guard(void* address) { in Guard()
386 void* VirtualMemory::ReserveRegion(size_t size) { in ReserveRegion()
[all …]
Dplatform-win32.cc1199 VirtualMemory::VirtualMemory() : address_(NULL), size_(0) { } in VirtualMemory() function in v8::base::VirtualMemory
1202 VirtualMemory::VirtualMemory(size_t size) in VirtualMemory() function in v8::base::VirtualMemory
1206 VirtualMemory::VirtualMemory(size_t size, size_t alignment) in VirtualMemory() function in v8::base::VirtualMemory
1232 VirtualMemory::~VirtualMemory() { in ~VirtualMemory()
1241 bool VirtualMemory::IsReserved() { in IsReserved()
1246 void VirtualMemory::Reset() { in Reset()
1252 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) { in Commit()
1257 bool VirtualMemory::Uncommit(void* address, size_t size) { in Uncommit()
1263 bool VirtualMemory::Guard(void* address) { in Guard()
1274 void* VirtualMemory::ReserveRegion(size_t size) { in ReserveRegion()
[all …]
Dplatform.h316 class VirtualMemory {
319 VirtualMemory();
322 explicit VirtualMemory(size_t size);
327 VirtualMemory(size_t size, size_t alignment);
331 ~VirtualMemory();
377 void TakeControl(VirtualMemory* from) { in TakeControl()
/external/v8/test/cctest/
Dtest-platform-win32.cc41 TEST(VirtualMemory) { in TEST() argument
42 v8::base::VirtualMemory* vm = new v8::base::VirtualMemory(1 * MB); in TEST()
Dtest-platform-linux.cc42 TEST(VirtualMemory) { in TEST() argument
43 v8::base::VirtualMemory* vm = new v8::base::VirtualMemory(1 * MB); in TEST()
/external/v8/src/heap/
Dstore-buffer.h121 base::VirtualMemory* old_virtual_memory_;
133 base::VirtualMemory* virtual_memory_;
Dspaces.cc114 code_range_ = new base::VirtualMemory(requested); in SetUp()
286 if (!base::VirtualMemory::CommitRegion(base, size, in CommitMemory()
295 void MemoryAllocator::FreeMemory(base::VirtualMemory* reservation, in FreeMemory()
338 bool result = base::VirtualMemory::ReleaseRegion(base, size); in FreeMemory()
346 base::VirtualMemory* controller) { in ReserveAlignedMemory()
347 base::VirtualMemory reservation(size, alignment); in ReserveAlignedMemory()
360 Executability executable, base::VirtualMemory* controller) { in AllocateAlignedMemory()
362 base::VirtualMemory reservation; in AllocateAlignedMemory()
557 base::VirtualMemory reservation; in AllocateChunk()
714 base::VirtualMemory* reservation = chunk->reserved_memory(); in Free()
[all …]
Dspaces.h324 base::VirtualMemory* reserved_memory() { return &reservation_; } in reserved_memory()
328 void set_reserved_memory(base::VirtualMemory* reservation) { in set_reserved_memory()
650 base::VirtualMemory reservation_;
903 base::VirtualMemory* code_range_;
1055 base::VirtualMemory* controller);
1058 base::VirtualMemory* controller);
1062 void FreeMemory(base::VirtualMemory* reservation, Executability executable);
1103 MUST_USE_RESULT bool CommitExecutableMemory(base::VirtualMemory* vm,
2556 base::VirtualMemory reservation_;
Dincremental-marking.h203 base::VirtualMemory* marking_deque_memory_;
Dstore-buffer.cc37 virtual_memory_ = new base::VirtualMemory(kStoreBufferSize * 3); in SetUp()
45 new base::VirtualMemory(kOldStoreBufferLength * kPointerSize); in SetUp()
Dincremental-marking.cc486 marking_deque_memory_ = new base::VirtualMemory(4 * MB); in EnsureMarkingDequeIsCommitted()
/external/v8/src/
Dglobals.h45 class VirtualMemory; variable
/external/v8/
DChangeLog4683 Fixed solaris build (VirtualMemory) (issue 1761).
4895 Implement VirtualMemory on FreeBSD to fix build (issue 1807).