v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VirtualMemory Class Reference

#include <platform.h>

Public Member Functions

 VirtualMemory ()
 
 VirtualMemory (size_t size)
 
 VirtualMemory (size_t size, size_t alignment)
 
 ~VirtualMemory ()
 
bool IsReserved ()
 
void Reset ()
 
void * address ()
 
size_t size ()
 
bool Commit (void *address, size_t size, bool is_executable)
 
bool Uncommit (void *address, size_t size)
 
bool Guard (void *address)
 
void Release ()
 
void TakeControl (VirtualMemory *from)
 

Static Public Member Functions

static void * ReserveRegion (size_t size)
 
static bool CommitRegion (void *base, size_t size, bool is_executable)
 
static bool UncommitRegion (void *base, size_t size)
 
static bool ReleaseRegion (void *base, size_t size)
 
static bool HasLazyCommits ()
 

Detailed Description

Definition at line 420 of file platform.h.

Constructor & Destructor Documentation

Definition at line 253 of file platform-cygwin.cc.

VirtualMemory ( size_t  size)
explicit

Definition at line 256 of file platform-cygwin.cc.

Member Function Documentation

bool Commit ( void *  address,
size_t  size,
bool  is_executable 
)
bool CommitRegion ( void *  base,
size_t  size,
bool  is_executable 
)
static

Definition at line 322 of file platform-cygwin.cc.

References v8::internal::NULL.

Referenced by VirtualMemory::Commit(), and MemoryAllocator::CommitMemory().

bool Guard ( void *  address)
bool ReleaseRegion ( void *  base,
size_t  size 
)
static
void * ReserveRegion ( size_t  size)
static

Definition at line 317 of file platform-cygwin.cc.

Referenced by VirtualMemory::VirtualMemory().

bool UncommitRegion ( void *  base,
size_t  size 
)
static

Definition at line 342 of file platform-cygwin.cc.

Referenced by VirtualMemory::Uncommit(), and MemoryAllocator::UncommitBlock().


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