![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <allocation.h>
Classes | |
| struct | ReservationParams |
Public Member Functions | |
| VirtualMemoryCage () | |
| virtual | ~VirtualMemoryCage () |
| VirtualMemoryCage (const VirtualMemoryCage &)=delete | |
| VirtualMemoryCage & | operator= (VirtualMemoryCage &)=delete |
| VirtualMemoryCage (VirtualMemoryCage &&other) V8_NOEXCEPT | |
| VirtualMemoryCage & | operator= (VirtualMemoryCage &&other) V8_NOEXCEPT |
| Address | base () const |
| size_t | size () const |
| base::AddressRegion | region () const |
| base::BoundedPageAllocator * | page_allocator () const |
| VirtualMemory * | reservation () |
| const VirtualMemory * | reservation () const |
| bool | IsReserved () const |
| bool | InitReservation (const ReservationParams ¶ms, base::AddressRegion existing_reservation=base::AddressRegion()) |
| void | Free () |
Protected Attributes | |
| Address | base_ = kNullAddress |
| size_t | size_ = 0 |
| std::unique_ptr< base::BoundedPageAllocator > | page_allocator_ |
| VirtualMemory | reservation_ |
Definition at line 351 of file allocation.h.
|
default |
|
virtual |
|
delete |
| v8::internal::VirtualMemoryCage::VirtualMemoryCage | ( | VirtualMemoryCage && | other | ) |
Definition at line 293 of file allocation.cc.
|
inline |
| void v8::internal::VirtualMemoryCage::Free | ( | ) |
Definition at line 355 of file allocation.cc.
| bool v8::internal::VirtualMemoryCage::InitReservation | ( | const ReservationParams & | params, |
| base::AddressRegion | existing_reservation = base::AddressRegion() ) |
Definition at line 308 of file allocation.cc.
|
inline |
Definition at line 376 of file allocation.h.
| VirtualMemoryCage & v8::internal::VirtualMemoryCage::operator= | ( | VirtualMemoryCage && | other | ) |
Definition at line 297 of file allocation.cc.
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 374 of file allocation.h.
|
inline |
|
protected |
Definition at line 410 of file allocation.h.
|
protected |
Definition at line 412 of file allocation.h.
|
protected |
Definition at line 413 of file allocation.h.
|
protected |
Definition at line 411 of file allocation.h.