V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::wasm::WasmMemoryTracker Class Reference

Classes

struct  AllocationData
 

Public Types

enum  ReservationLimit { kSoftLimit, kHardLimit }
 
enum  AllocationStatus { kSuccess, kSuccessAfterRetry, kAddressSpaceLimitReachedFailure, kOtherFailure }
 

Public Member Functions

bool ReserveAddressSpace (size_t num_bytes, ReservationLimit limit)
 
void RegisterAllocation (Isolate *isolate, void *allocation_base, size_t allocation_length, void *buffer_start, size_t buffer_length)
 
void ReleaseReservation (size_t num_bytes)
 
AllocationData ReleaseAllocation (Isolate *isolate, const void *buffer_start)
 
bool IsWasmMemory (const void *buffer_start)
 
bool HasFullGuardRegions (const void *buffer_start)
 
const AllocationDataFindAllocationData (const void *buffer_start)
 
bool FreeMemoryIfIsWasmMemory (Isolate *isolate, const void *buffer_start)
 

Detailed Description

Definition at line 25 of file wasm-memory.h.


The documentation for this class was generated from the following files: