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

#include <marker.h>

Inheritance diagram for cppgc::internal::MarkerBase::IncrementalMarkingAllocationObserver:
Collaboration diagram for cppgc::internal::MarkerBase::IncrementalMarkingAllocationObserver:

Public Member Functions

 IncrementalMarkingAllocationObserver (MarkerBase &marker)
 
void AllocatedObjectSizeIncreased (size_t delta) final
 
- Public Member Functions inherited from cppgc::internal::StatsCollector::AllocationObserver
virtual void AllocatedObjectSizeDecreased (size_t)
 
virtual void ResetAllocatedObjectSize (size_t)
 
virtual void AllocatedSizeIncreased (size_t)
 
virtual void AllocatedSizeDecreased (size_t)
 

Static Public Attributes

static constexpr size_t kMinAllocatedBytesPerStep = 256 * kKB
 

Private Attributes

MarkerBasemarker_
 
size_t current_allocated_size_ = 0
 

Detailed Description

Definition at line 147 of file marker.h.

Constructor & Destructor Documentation

◆ IncrementalMarkingAllocationObserver()

cppgc::internal::MarkerBase::IncrementalMarkingAllocationObserver::IncrementalMarkingAllocationObserver ( MarkerBase & marker)
explicit

Definition at line 198 of file marker.cc.

Member Function Documentation

◆ AllocatedObjectSizeIncreased()

void cppgc::internal::MarkerBase::IncrementalMarkingAllocationObserver::AllocatedObjectSizeIncreased ( size_t delta)
finalvirtual

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

Definition at line 202 of file marker.cc.

Member Data Documentation

◆ current_allocated_size_

size_t cppgc::internal::MarkerBase::IncrementalMarkingAllocationObserver::current_allocated_size_ = 0
private

Definition at line 158 of file marker.h.

◆ kMinAllocatedBytesPerStep

size_t cppgc::internal::MarkerBase::IncrementalMarkingAllocationObserver::kMinAllocatedBytesPerStep = 256 * kKB
staticconstexpr

Definition at line 150 of file marker.h.

◆ marker_

MarkerBase& cppgc::internal::MarkerBase::IncrementalMarkingAllocationObserver::marker_
private

Definition at line 157 of file marker.h.


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