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

Public Member Functions

 Barrier ()
 
void Arm ()
 
void Disarm ()
 
void WaitUntilRunningThreadsInSafepoint (const IsolateSafepoint::RunningLocalHeaps &running_threads)
 
void WaitInSafepoint ()
 
void WaitInUnpark ()
 
void NotifyPark ()
 

Private Member Functions

bool IsArmed ()
 

Private Attributes

base::Mutex mutex_
 
base::ConditionVariable cv_resume_
 
base::ConditionVariable cv_stopped_
 
bool armed_
 
size_t stopped_ = 0
 

Detailed Description

Definition at line 59 of file safepoint.h.

Constructor & Destructor Documentation

◆ Barrier()

v8::internal::IsolateSafepoint::Barrier::Barrier ( )
inline

Definition at line 70 of file safepoint.h.

Member Function Documentation

◆ Arm()

void v8::internal::IsolateSafepoint::Barrier::Arm ( )

Definition at line 231 of file safepoint.cc.

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

◆ Disarm()

void v8::internal::IsolateSafepoint::Barrier::Disarm ( )

Definition at line 238 of file safepoint.cc.

Here is the caller graph for this function:

◆ IsArmed()

bool v8::internal::IsolateSafepoint::Barrier::IsArmed ( )
inlineprivate

Definition at line 67 of file safepoint.h.

Here is the caller graph for this function:

◆ NotifyPark()

void v8::internal::IsolateSafepoint::Barrier::NotifyPark ( )

Definition at line 266 of file safepoint.cc.

Here is the caller graph for this function:

◆ WaitInSafepoint()

void v8::internal::IsolateSafepoint::Barrier::WaitInSafepoint ( )

Definition at line 273 of file safepoint.cc.

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

◆ WaitInUnpark()

void v8::internal::IsolateSafepoint::Barrier::WaitInUnpark ( )

Definition at line 286 of file safepoint.cc.

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

◆ WaitUntilRunningThreadsInSafepoint()

void v8::internal::IsolateSafepoint::Barrier::WaitUntilRunningThreadsInSafepoint ( const IsolateSafepoint::RunningLocalHeaps & running_threads)

Definition at line 246 of file safepoint.cc.

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

Member Data Documentation

◆ armed_

bool v8::internal::IsolateSafepoint::Barrier::armed_
private

Definition at line 63 of file safepoint.h.

◆ cv_resume_

base::ConditionVariable v8::internal::IsolateSafepoint::Barrier::cv_resume_
private

Definition at line 61 of file safepoint.h.

◆ cv_stopped_

base::ConditionVariable v8::internal::IsolateSafepoint::Barrier::cv_stopped_
private

Definition at line 62 of file safepoint.h.

◆ mutex_

base::Mutex v8::internal::IsolateSafepoint::Barrier::mutex_
private

Definition at line 60 of file safepoint.h.

◆ stopped_

size_t v8::internal::IsolateSafepoint::Barrier::stopped_ = 0
private

Definition at line 65 of file safepoint.h.


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