v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
allocation.h File Reference
Include dependency graph for allocation.h:

Go to the source code of this file.

Classes

class  v8::internal::Malloced
 
struct  v8::internal::ArrayDeleter< T >
 
class  v8::internal::FreeStoreAllocationPolicy
 
class  v8::internal::VirtualMemory
 
class  v8::internal::VirtualMemoryCage
 
struct  v8::internal::VirtualMemoryCage::ReservationParams
 

Namespaces

namespace  v8
 
namespace  v8::base
 
namespace  v8::internal
 

Typedefs

template<typename T >
using v8::internal::ArrayUniquePtr = std::unique_ptr<T, ArrayDeleter<T>>
 
using v8::internal::MallocFn = void* (*)(size_t)
 

Enumerations

enum class  v8::internal::JitPermission { v8::internal::kNoJit , v8::internal::kMapAsJittable }
 

Functions

void v8::internal::OnCriticalMemoryPressure ()
 
template<typename T >
Tv8::internal::NewArray (size_t size)
 
template<typename T >
requires base::is_trivially_copyable<T>::value
Tv8::internal::NewArray (size_t size, T default_val)
 
template<typename T >
void v8::internal::DeleteArray (T *array)
 
char * v8::internal::StrDup (const char *str)
 
char * v8::internal::StrNDup (const char *str, int n)
 
void * v8::internal::AllocWithRetry (size_t size, MallocFn malloc_fn)
 
base::AllocationResult< void * > v8::internal::AllocAtLeastWithRetry (size_t size)
 
void * v8::internal::AlignedAllocWithRetry (size_t size, size_t alignment)
 
void v8::internal::AlignedFree (void *ptr)
 
v8::PageAllocatorv8::internal::GetPlatformPageAllocator ()
 
v8::VirtualAddressSpacev8::internal::GetPlatformVirtualAddressSpace ()
 
v8::PageAllocatorv8::internal::GetArrayBufferPageAllocator ()
 
v8::PageAllocatorv8::internal::SetPlatformPageAllocatorForTesting (v8::PageAllocator *new_page_allocator)
 
size_t v8::internal::AllocatePageSize ()
 
size_t v8::internal::CommitPageSize ()
 
void * v8::internal::GetRandomMmapAddr ()
 
void * v8::internal::AllocatePages (v8::PageAllocator *page_allocator, void *hint, size_t size, size_t alignment, PageAllocator::Permission access)
 
void v8::internal::FreePages (v8::PageAllocator *page_allocator, void *address, const size_t size)
 
void v8::internal::ReleasePages (v8::PageAllocator *page_allocator, void *address, size_t size, size_t new_size)
 
bool v8::internal::SetPermissions (v8::PageAllocator *page_allocator, void *address, size_t size, PageAllocator::Permission access)
 
bool v8::internal::SetPermissions (v8::PageAllocator *page_allocator, Address address, size_t size, PageAllocator::Permission access)