v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ThreadIsolation::JitPageReference Class Reference

#include <code-memory-access.h>

Collaboration diagram for v8::internal::ThreadIsolation::JitPageReference:

Public Member Functions

 JitPageReference (class JitPage *page, Address address)
 
 JitPageReference (JitPageReference &&) V8_NOEXCEPT=default
 
 JitPageReference (const JitPageReference &)=delete
 
JitPageReferenceoperator= (const JitPageReference &)=delete
 
base::Address Address () const
 
size_t Size () const
 
base::Address End () const
 
JitAllocationRegisterAllocation (base::Address addr, size_t size, JitAllocationType type)
 
JitAllocationLookupAllocation (base::Address addr, size_t size, JitAllocationType type)
 
bool Contains (base::Address addr, size_t size, JitAllocationType type) const
 
void UnregisterAllocation (base::Address addr)
 
void UnregisterAllocationsExcept (base::Address start, size_t size, const std::vector< base::Address > &addr)
 
void UnregisterRange (base::Address addr, size_t size)
 
base::Address StartOfAllocationAt (base::Address inner_pointer)
 
std::pair< base::Address, JitAllocation & > AllocationContaining (base::Address addr)
 
bool Empty () const
 
void Shrink (class JitPage *tail)
 
void Expand (size_t offset)
 
void Merge (JitPageReference &next)
 
class JitPageJitPage ()
 

Private Attributes

base::MutexGuard page_lock_
 
class JitPagejit_page_
 
base::Address address_
 

Detailed Description

Definition at line 268 of file code-memory-access.h.

Constructor & Destructor Documentation

◆ JitPageReference() [1/3]

v8::internal::ThreadIsolation::JitPageReference::JitPageReference ( class JitPage * page,
Address address )

◆ JitPageReference() [2/3]

v8::internal::ThreadIsolation::JitPageReference::JitPageReference ( JitPageReference && )
default

◆ JitPageReference() [3/3]

v8::internal::ThreadIsolation::JitPageReference::JitPageReference ( const JitPageReference & )
delete

Member Function Documentation

◆ Address()

base::Address v8::internal::ThreadIsolation::JitPageReference::Address ( ) const
inline

Definition at line 275 of file code-memory-access.h.

Here is the caller graph for this function:

◆ AllocationContaining()

std::pair< base::Address, ThreadIsolation::JitAllocation & > v8::internal::ThreadIsolation::JitPageReference::AllocationContaining ( base::Address addr)

Definition at line 395 of file code-memory-access.cc.

Here is the caller graph for this function:

◆ Contains()

bool v8::internal::ThreadIsolation::JitPageReference::Contains ( base::Address addr,
size_t size,
JitAllocationType type ) const

Definition at line 330 of file code-memory-access.cc.

◆ Empty()

bool v8::internal::ThreadIsolation::JitPageReference::Empty ( ) const
inline

Definition at line 293 of file code-memory-access.h.

◆ End()

base::Address v8::internal::ThreadIsolation::JitPageReference::End ( ) const
inline

Definition at line 277 of file code-memory-access.h.

Here is the caller graph for this function:

◆ Expand()

void v8::internal::ThreadIsolation::JitPageReference::Expand ( size_t offset)

Definition at line 289 of file code-memory-access.cc.

◆ JitPage()

class JitPage * v8::internal::ThreadIsolation::JitPageReference::JitPage ( )
inline

Definition at line 297 of file code-memory-access.h.

Here is the caller graph for this function:

◆ LookupAllocation()

ThreadIsolation::JitAllocation & v8::internal::ThreadIsolation::JitPageReference::LookupAllocation ( base::Address addr,
size_t size,
JitAllocationType type )

Definition at line 320 of file code-memory-access.cc.

◆ Merge()

void v8::internal::ThreadIsolation::JitPageReference::Merge ( JitPageReference & next)

Definition at line 293 of file code-memory-access.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

JitPageReference & v8::internal::ThreadIsolation::JitPageReference::operator= ( const JitPageReference & )
delete

◆ RegisterAllocation()

ThreadIsolation::JitAllocation & v8::internal::ThreadIsolation::JitPageReference::RegisterAllocation ( base::Address addr,
size_t size,
JitAllocationType type )

Definition at line 302 of file code-memory-access.cc.

Here is the caller graph for this function:

◆ Shrink()

void v8::internal::ThreadIsolation::JitPageReference::Shrink ( class JitPage * tail)

Definition at line 281 of file code-memory-access.cc.

Here is the caller graph for this function:

◆ Size()

size_t v8::internal::ThreadIsolation::JitPageReference::Size ( ) const

Definition at line 277 of file code-memory-access.cc.

Here is the caller graph for this function:

◆ StartOfAllocationAt()

base::Address v8::internal::ThreadIsolation::JitPageReference::StartOfAllocationAt ( base::Address inner_pointer)

Definition at line 389 of file code-memory-access.cc.

◆ UnregisterAllocation()

void v8::internal::ThreadIsolation::JitPageReference::UnregisterAllocation ( base::Address addr)

Definition at line 338 of file code-memory-access.cc.

Here is the caller graph for this function:

◆ UnregisterAllocationsExcept()

void v8::internal::ThreadIsolation::JitPageReference::UnregisterAllocationsExcept ( base::Address start,
size_t size,
const std::vector< base::Address > & addr )

Definition at line 357 of file code-memory-access.cc.

◆ UnregisterRange()

void v8::internal::ThreadIsolation::JitPageReference::UnregisterRange ( base::Address addr,
size_t size )

Definition at line 344 of file code-memory-access.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ address_

base::Address v8::internal::ThreadIsolation::JitPageReference::address_
private

Definition at line 304 of file code-memory-access.h.

◆ jit_page_

class JitPage* v8::internal::ThreadIsolation::JitPageReference::jit_page_
private

Definition at line 301 of file code-memory-access.h.

◆ page_lock_

base::MutexGuard v8::internal::ThreadIsolation::JitPageReference::page_lock_
private

Definition at line 300 of file code-memory-access.h.


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