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

#include <paged-spaces.h>

Collaboration diagram for v8::internal::OldGenerationMemoryChunkIterator:

Public Member Functions

 OldGenerationMemoryChunkIterator (Heap *heap)
 
MutablePageMetadatanext ()
 

Static Public Member Functions

template<typename Callback >
static void ForAll (Heap *heap, Callback callback)
 

Private Types

enum  State {
  kOldSpace , kCodeSpace , kLargeObjectSpace , kCodeLargeObjectSpace ,
  kTrustedSpace , kTrustedLargeObjectSpace , kFinished
}
 

Private Attributes

Heap *const heap_
 
State state_
 
std::variant< PageIterator, LargePageIteratoriterator_
 

Detailed Description

Definition at line 580 of file paged-spaces.h.

Member Enumeration Documentation

◆ State

Enumerator
kOldSpace 
kCodeSpace 
kLargeObjectSpace 
kCodeLargeObjectSpace 
kTrustedSpace 
kTrustedLargeObjectSpace 
kFinished 

Definition at line 597 of file paged-spaces.h.

Constructor & Destructor Documentation

◆ OldGenerationMemoryChunkIterator()

v8::internal::OldGenerationMemoryChunkIterator::OldGenerationMemoryChunkIterator ( Heap * heap)
inlineexplicit

Definition at line 65 of file spaces-inl.h.

Member Function Documentation

◆ ForAll()

template<typename Callback >
static void v8::internal::OldGenerationMemoryChunkIterator::ForAll ( Heap * heap,
Callback callback )
inlinestatic

Definition at line 589 of file paged-spaces.h.

Here is the caller graph for this function:

◆ next()

MutablePageMetadata * v8::internal::OldGenerationMemoryChunkIterator::next ( )
inline

Definition at line 68 of file spaces-inl.h.

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

Member Data Documentation

◆ heap_

Heap* const v8::internal::OldGenerationMemoryChunkIterator::heap_
private

Definition at line 606 of file paged-spaces.h.

◆ iterator_

std::variant<PageIterator, LargePageIterator> v8::internal::OldGenerationMemoryChunkIterator::iterator_
private

Definition at line 609 of file paged-spaces.h.

◆ state_

State v8::internal::OldGenerationMemoryChunkIterator::state_
private

Definition at line 607 of file paged-spaces.h.


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