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

#include <zone-segment.h>

Collaboration diagram for v8::internal::Segment:

Public Member Functions

Zonezone () const
 
void set_zone (Zone *const zone)
 
Segmentnext () const
 
void set_next (Segment *const next)
 
size_t total_size () const
 
size_t capacity () const
 
Address start () const
 
Address end () const
 
void ZapContents ()
 
void ZapHeader ()
 

Private Member Functions

 Segment (size_t size)
 
Address address (size_t n) const
 

Private Attributes

Zonezone_ = nullptr
 
Segmentnext_ = nullptr
 
const size_t size_
 

Friends

class AccountingAllocator
 

Detailed Description

Definition at line 22 of file zone-segment.h.

Constructor & Destructor Documentation

◆ Segment()

v8::internal::Segment::Segment ( size_t size)
inlineexplicitprivate

Definition at line 50 of file zone-segment.h.

Here is the caller graph for this function:

Member Function Documentation

◆ address()

Address v8::internal::Segment::address ( size_t n) const
inlineprivate

Definition at line 58 of file zone-segment.h.

Here is the caller graph for this function:

◆ capacity()

size_t v8::internal::Segment::capacity ( ) const
inline

Definition at line 36 of file zone-segment.h.

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

◆ end()

Address v8::internal::Segment::end ( ) const
inline

Definition at line 39 of file zone-segment.h.

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

◆ next()

Segment * v8::internal::Segment::next ( ) const
inline

Definition at line 27 of file zone-segment.h.

Here is the caller graph for this function:

◆ set_next()

void v8::internal::Segment::set_next ( Segment *const next)
inline

Definition at line 28 of file zone-segment.h.

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

◆ set_zone()

void v8::internal::Segment::set_zone ( Zone *const zone)
inline

Definition at line 25 of file zone-segment.h.

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

◆ start()

Address v8::internal::Segment::start ( ) const
inline

Definition at line 38 of file zone-segment.h.

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

◆ total_size()

size_t v8::internal::Segment::total_size ( ) const
inline

Definition at line 32 of file zone-segment.h.

Here is the caller graph for this function:

◆ ZapContents()

void v8::internal::Segment::ZapContents ( )

Definition at line 12 of file zone-segment.cc.

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

◆ ZapHeader()

void v8::internal::Segment::ZapHeader ( )

Definition at line 19 of file zone-segment.cc.

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

◆ zone()

Zone * v8::internal::Segment::zone ( ) const
inline

Definition at line 24 of file zone-segment.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ AccountingAllocator

friend class AccountingAllocator
friend

Definition at line 48 of file zone-segment.h.

Member Data Documentation

◆ next_

Segment* v8::internal::Segment::next_ = nullptr
private

Definition at line 63 of file zone-segment.h.

◆ size_

const size_t v8::internal::Segment::size_
private

Definition at line 64 of file zone-segment.h.

◆ zone_

Zone* v8::internal::Segment::zone_ = nullptr
private

Definition at line 62 of file zone-segment.h.


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