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

#include <marking-progress-tracker.h>

Collaboration diagram for v8::internal::MarkingProgressTracker:

Public Member Functions

void Enable (size_t size)
 
bool IsEnabled () const
 
size_t GetNextChunkToMark ()
 
size_t TotalNumberOfChunks () const
 
void ResetIfEnabled ()
 
size_t GetCurrentChunkForTesting () const
 

Static Public Attributes

static constexpr size_t kChunkSize = kMaxRegularHeapObjectSize
 

Private Attributes

size_t overall_chunks_ = 0
 
std::atomic< size_tcurrent_chunk_
 

Detailed Description

Definition at line 30 of file marking-progress-tracker.h.

Member Function Documentation

◆ Enable()

void v8::internal::MarkingProgressTracker::Enable ( size_t size)
inline

Definition at line 34 of file marking-progress-tracker.h.

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

◆ GetCurrentChunkForTesting()

size_t v8::internal::MarkingProgressTracker::GetCurrentChunkForTesting ( ) const
inline

Definition at line 57 of file marking-progress-tracker.h.

◆ GetNextChunkToMark()

size_t v8::internal::MarkingProgressTracker::GetNextChunkToMark ( )
inline

Definition at line 42 of file marking-progress-tracker.h.

Here is the caller graph for this function:

◆ IsEnabled()

bool v8::internal::MarkingProgressTracker::IsEnabled ( ) const
inline

Definition at line 40 of file marking-progress-tracker.h.

Here is the caller graph for this function:

◆ ResetIfEnabled()

void v8::internal::MarkingProgressTracker::ResetIfEnabled ( )
inline

Definition at line 51 of file marking-progress-tracker.h.

Here is the call graph for this function:

◆ TotalNumberOfChunks()

size_t v8::internal::MarkingProgressTracker::TotalNumberOfChunks ( ) const
inline

Definition at line 49 of file marking-progress-tracker.h.

Here is the caller graph for this function:

Member Data Documentation

◆ current_chunk_

std::atomic<size_t> v8::internal::MarkingProgressTracker::current_chunk_
private

Definition at line 63 of file marking-progress-tracker.h.

◆ kChunkSize

size_t v8::internal::MarkingProgressTracker::kChunkSize = kMaxRegularHeapObjectSize
staticconstexpr

Definition at line 32 of file marking-progress-tracker.h.

◆ overall_chunks_

size_t v8::internal::MarkingProgressTracker::overall_chunks_ = 0
private

Definition at line 62 of file marking-progress-tracker.h.


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