Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QV4::MarkStack Struct Reference

#include <qv4mmdefs_p.h>

+ Collaboration diagram for QV4::MarkStack:

Public Types

enum class  DrainState { Ongoing , Complete }
 

Public Member Functions

 MarkStack (ExecutionEngine *engine)
 
 ~MarkStack ()
 
void push (Heap::Base *m)
 
bool isEmpty () const
 
qptrdiff remainingBeforeSoftLimit () const
 
ExecutionEngineengine () const
 
void drain ()
 
DrainState drain (QDeadlineTimer deadline)
 
void setSoftLimit (size_t size)
 

Detailed Description

Definition at line 232 of file qv4mmdefs_p.h.

Member Enumeration Documentation

◆ DrainState

enum class QV4::MarkStack::DrainState
strong
Enumerator
Ongoing 
Complete 

Definition at line 265 of file qv4mmdefs_p.h.

Constructor & Destructor Documentation

◆ MarkStack()

QV4::MarkStack::MarkStack ( ExecutionEngine * engine)

Definition at line 1056 of file qv4mm.cpp.

◆ ~MarkStack()

QV4::MarkStack::~MarkStack ( )
inline

Definition at line 234 of file qv4mmdefs_p.h.

Member Function Documentation

◆ drain() [1/2]

void QV4::MarkStack::drain ( )

Definition at line 1066 of file qv4mm.cpp.

◆ drain() [2/2]

MarkStack::DrainState QV4::MarkStack::drain ( QDeadlineTimer deadline)

Definition at line 1078 of file qv4mm.cpp.

◆ engine()

ExecutionEngine * QV4::MarkStack::engine ( ) const
inline

Definition at line 262 of file qv4mmdefs_p.h.

◆ isEmpty()

bool QV4::MarkStack::isEmpty ( ) const
inline

Definition at line 255 of file qv4mmdefs_p.h.

◆ push()

void QV4::MarkStack::push ( Heap::Base * m)
inline

Definition at line 236 of file qv4mmdefs_p.h.

◆ remainingBeforeSoftLimit()

qptrdiff QV4::MarkStack::remainingBeforeSoftLimit ( ) const
inline

Definition at line 257 of file qv4mmdefs_p.h.

◆ setSoftLimit()

void QV4::MarkStack::setSoftLimit ( size_t size)

Definition at line 1094 of file qv4mm.cpp.


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