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
CodeRange Class Reference

#include <spaces.h>

Public Member Functions

 CodeRange (Isolate *isolate)
 
 ~CodeRange ()
 
bool SetUp (const size_t requested_size)
 
void TearDown ()
 
bool exists ()
 
Address start ()
 
bool contains (Address address)
 
MUST_USE_RESULT Address AllocateRawMemory (const size_t requested_size, const size_t commit_size, size_t *allocated)
 
bool CommitRawMemory (Address start, size_t length)
 
bool UncommitRawMemory (Address start, size_t length)
 
void FreeRawMemory (Address buf, size_t length)
 

Detailed Description

Definition at line 941 of file spaces.h.

Constructor & Destructor Documentation

CodeRange ( Isolate isolate)
explicit

Definition at line 127 of file spaces.cc.

~CodeRange ( )
inline

Definition at line 944 of file spaces.h.

References CodeRange::TearDown().

Member Function Documentation

Address AllocateRawMemory ( const size_t  requested_size,
const size_t  commit_size,
size_t *  allocated 
)
bool CommitRawMemory ( Address  start,
size_t  length 
)
bool contains ( Address  address)
inline
void FreeRawMemory ( Address  buf,
size_t  length 
)
Address start ( )
inline

Definition at line 956 of file spaces.h.

References VirtualMemory::address(), and v8::internal::NULL.

Referenced by CodeRange::contains(), and Assembler::runtime_entry_at().

void TearDown ( )

Definition at line 265 of file spaces.cc.

References List< T, P >::Free(), and v8::internal::NULL.

Referenced by TEST(), and CodeRange::~CodeRange().

bool UncommitRawMemory ( Address  start,
size_t  length 
)

Definition at line 253 of file spaces.cc.

References VirtualMemory::Uncommit().

Referenced by MemoryChunk::CommitArea().


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