![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <gc-tracer.h>
Public Types | |
enum | ScopeId { TRACER_SCOPES , FIRST_INCREMENTAL_SCOPE = MC_INCREMENTAL , LAST_INCREMENTAL_SCOPE = MC_INCREMENTAL_SWEEPING , FIRST_SCOPE = MC_INCREMENTAL , NUMBER_OF_INCREMENTAL_SCOPES , FIRST_TOP_MC_SCOPE = MC_CLEAR , LAST_TOP_MC_SCOPE = MC_SWEEP , FIRST_BACKGROUND_SCOPE = BACKGROUND_YOUNG_ARRAY_BUFFER_SWEEP , LAST_BACKGROUND_SCOPE } |
Public Member Functions | |
V8_INLINE | Scope (GCTracer *tracer, ScopeId scope, ThreadKind thread_kind) |
V8_INLINE | ~Scope () |
Scope (const Scope &)=delete | |
Scope & | operator= (const Scope &)=delete |
Static Public Member Functions | |
static constexpr const char * | Name (ScopeId id) |
static constexpr bool | NeedsYoungEpoch (ScopeId id) |
static constexpr int | IncrementalOffset (ScopeId id) |
Private Attributes | |
GCTracer *const | tracer_ |
const ScopeId | scope_ |
const ThreadKind | thread_kind_ |
const base::TimeTicks | start_time_ |
Definition at line 119 of file gc-tracer.h.
Enumerator | |
---|---|
TRACER_SCOPES | |
FIRST_INCREMENTAL_SCOPE | |
LAST_INCREMENTAL_SCOPE | |
FIRST_SCOPE | |
NUMBER_OF_INCREMENTAL_SCOPES | |
FIRST_TOP_MC_SCOPE | |
LAST_TOP_MC_SCOPE | |
FIRST_BACKGROUND_SCOPE | |
LAST_BACKGROUND_SCOPE |
Definition at line 121 of file gc-tracer.h.
v8::internal::GCTracer::Scope::Scope | ( | GCTracer * | tracer, |
ScopeId | scope, | ||
ThreadKind | thread_kind ) |
v8::internal::GCTracer::Scope::~Scope | ( | ) |
|
staticconstexpr |
Definition at line 71 of file gc-tracer-inl.h.
Definition at line 149 of file gc-tracer.h.
|
private |
Definition at line 151 of file gc-tracer.h.
|
private |
Definition at line 150 of file gc-tracer.h.
Definition at line 148 of file gc-tracer.h.