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

Public Member Functions

 MinorGCHeapGrowing (cppgc::internal::StatsCollector &stats_collector)
 
virtual ~MinorGCHeapGrowing ()=default
 
void AllocatedObjectSizeIncreased (size_t) final
 
void AllocatedObjectSizeDecreased (size_t) final
 
void ResetAllocatedObjectSize (size_t allocated_object_size) final
 
bool LimitReached () const
 
- Public Member Functions inherited from cppgc::internal::StatsCollector::AllocationObserver
virtual void AllocatedSizeIncreased (size_t)
 
virtual void AllocatedSizeDecreased (size_t)
 

Private Member Functions

void ConfigureLimit (size_t allocated_object_size)
 

Private Attributes

cppgc::internal::StatsCollectorstats_collector_
 
size_t initial_heap_size_ = 1 * cppgc::internal::kMB
 
size_t limit_for_atomic_gc_ = 0
 

Detailed Description

Definition at line 61 of file cpp-heap.cc.

Constructor & Destructor Documentation

◆ MinorGCHeapGrowing()

v8::internal::MinorGCHeapGrowing::MinorGCHeapGrowing ( cppgc::internal::StatsCollector & stats_collector)
inlineexplicit

Definition at line 64 of file cpp-heap.cc.

Here is the call graph for this function:

◆ ~MinorGCHeapGrowing()

virtual v8::internal::MinorGCHeapGrowing::~MinorGCHeapGrowing ( )
virtualdefault

Member Function Documentation

◆ AllocatedObjectSizeDecreased()

void v8::internal::MinorGCHeapGrowing::AllocatedObjectSizeDecreased ( size_t )
inlinefinalvirtual

Reimplemented from cppgc::internal::StatsCollector::AllocationObserver.

Definition at line 71 of file cpp-heap.cc.

◆ AllocatedObjectSizeIncreased()

void v8::internal::MinorGCHeapGrowing::AllocatedObjectSizeIncreased ( size_t )
inlinefinalvirtual

Reimplemented from cppgc::internal::StatsCollector::AllocationObserver.

Definition at line 70 of file cpp-heap.cc.

◆ ConfigureLimit()

void v8::internal::MinorGCHeapGrowing::ConfigureLimit ( size_t allocated_object_size)
inlineprivate

Definition at line 81 of file cpp-heap.cc.

Here is the caller graph for this function:

◆ LimitReached()

bool v8::internal::MinorGCHeapGrowing::LimitReached ( ) const
inline

Definition at line 76 of file cpp-heap.cc.

Here is the call graph for this function:

◆ ResetAllocatedObjectSize()

void v8::internal::MinorGCHeapGrowing::ResetAllocatedObjectSize ( size_t allocated_object_size)
inlinefinalvirtual

Reimplemented from cppgc::internal::StatsCollector::AllocationObserver.

Definition at line 72 of file cpp-heap.cc.

Here is the call graph for this function:

Member Data Documentation

◆ initial_heap_size_

size_t v8::internal::MinorGCHeapGrowing::initial_heap_size_ = 1 * cppgc::internal::kMB
private

Definition at line 96 of file cpp-heap.cc.

◆ limit_for_atomic_gc_

size_t v8::internal::MinorGCHeapGrowing::limit_for_atomic_gc_ = 0
private

Definition at line 97 of file cpp-heap.cc.

◆ stats_collector_

cppgc::internal::StatsCollector& v8::internal::MinorGCHeapGrowing::stats_collector_
private

Definition at line 95 of file cpp-heap.cc.


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