![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <main-allocator.h>
Public Member Functions | |
| PagedSpaceAllocatorPolicy (PagedSpaceBase *space, MainAllocator *allocator) | |
| bool | EnsureAllocation (int size_in_bytes, AllocationAlignment alignment, AllocationOrigin origin) final |
| void | FreeLinearAllocationArea () final |
Public Member Functions inherited from v8::internal::AllocatorPolicy | |
| AllocatorPolicy (MainAllocator *allocator) | |
| virtual | ~AllocatorPolicy ()=default |
| virtual bool | SupportsExtendingLAB () const |
Private Member Functions | |
| bool | RefillLab (int size_in_bytes, AllocationOrigin origin) |
| bool | ContributeToSweeping (uint32_t max_pages=std::numeric_limits< uint32_t >::max()) |
| bool | TryAllocationFromFreeList (size_t size_in_bytes, AllocationOrigin origin) |
| bool | TryExpandAndAllocate (size_t size_in_bytes, AllocationOrigin origin) |
| V8_WARN_UNUSED_RESULT bool | TryExtendLAB (int size_in_bytes) |
| void | SetLinearAllocationArea (Address top, Address limit, Address end) |
| void | FreeLinearAllocationAreaUnsynchronized () |
Private Attributes | |
| PagedSpaceBase *const | space_ |
Friends | |
| class | PagedNewSpaceAllocatorPolicy |
Additional Inherited Members | |
Protected Member Functions inherited from v8::internal::AllocatorPolicy | |
| Heap * | space_heap () const |
| Heap * | isolate_heap () const |
Protected Attributes inherited from v8::internal::AllocatorPolicy | |
| MainAllocator *const | allocator_ |
Definition at line 70 of file main-allocator.h.
|
inline |
Definition at line 72 of file main-allocator.h.
|
private |
Definition at line 783 of file main-allocator.cc.
|
finalvirtual |
Implements v8::internal::AllocatorPolicy.
Definition at line 643 of file main-allocator.cc.
|
finalvirtual |
Implements v8::internal::AllocatorPolicy.
Definition at line 910 of file main-allocator.cc.
|
private |
Definition at line 917 of file main-allocator.cc.
|
private |
Definition at line 669 of file main-allocator.cc.
|
private |
Definition at line 815 of file main-allocator.cc.
|
private |
Definition at line 828 of file main-allocator.cc.
|
private |
Definition at line 771 of file main-allocator.cc.
|
private |
Definition at line 886 of file main-allocator.cc.
|
friend |
Definition at line 98 of file main-allocator.h.
|
private |
Definition at line 96 of file main-allocator.h.