![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Public Member Functions | |
SweepingState (Sweeper *sweeper) | |
~SweepingState () | |
void | InitializeSweeping () |
void | StartSweeping () |
void | StartConcurrentSweeping () |
void | StopConcurrentSweeping () |
void | FinishSweeping () |
void | JoinSweeping () |
bool | HasValidJob () const |
bool | HasActiveJob () const |
bool | in_progress () const |
bool | should_reduce_memory () const |
std::vector< ConcurrentSweeper > & | concurrent_sweepers () |
void | Pause () |
void | Resume () |
uint64_t | trace_id () const |
uint64_t | background_trace_id () const |
Private Types | |
using | ConcurrentSweeper |
using | SweeperJob |
Private Attributes | |
Sweeper * | sweeper_ |
std::atomic< bool > | in_progress_ {false} |
std::unique_ptr< JobHandle > | job_handle_ |
std::vector< ConcurrentSweeper > | concurrent_sweepers_ |
uint64_t | trace_id_ = 0 |
uint64_t | background_trace_id_ = 0 |
bool | should_reduce_memory_ = false |
|
private |
|
private |
|
explicit |
Definition at line 231 of file sweeper.cc.
v8::internal::Sweeper::SweepingState< scope >::~SweepingState | ( | ) |
Definition at line 235 of file sweeper.cc.
|
inline |
|
inline |
void v8::internal::Sweeper::SweepingState< scope >::FinishSweeping | ( | ) |
bool v8::internal::Sweeper::SweepingState< scope >::HasActiveJob | ( | ) | const |
bool v8::internal::Sweeper::SweepingState< scope >::HasValidJob | ( | ) | const |
|
inline |
void v8::internal::Sweeper::SweepingState< scope >::InitializeSweeping | ( | ) |
void v8::internal::Sweeper::SweepingState< scope >::JoinSweeping | ( | ) |
void v8::internal::Sweeper::SweepingState< scope >::Pause | ( | ) |
void v8::internal::Sweeper::SweepingState< scope >::Resume | ( | ) |
|
inline |
void v8::internal::Sweeper::SweepingState< scope >::StartConcurrentSweeping | ( | ) |
void v8::internal::Sweeper::SweepingState< scope >::StartSweeping | ( | ) |
void v8::internal::Sweeper::SweepingState< scope >::StopConcurrentSweeping | ( | ) |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |