![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qv4persistent_p.h>
Classes | |
| struct | Iterator |
Public Member Functions | |
| PersistentValueStorage (ExecutionEngine *engine) | |
| ~PersistentValueStorage () | |
| Value * | allocate () |
| void | mark (MarkStack *markStack) |
| Iterator | begin () |
| Iterator | end () |
| void | deallocateEmptyPages () |
Static Public Member Functions | |
| static void | free (Value *vv) |
| static ExecutionEngine * | getEngine (const Value *vv) |
Public Attributes | |
| ExecutionEngine * | engine |
| Page * | firstPage = nullptr |
| Page * | firstPartialPage = nullptr |
Definition at line 27 of file qv4persistent_p.h.
| QV4::PersistentValueStorage::PersistentValueStorage | ( | ExecutionEngine * | engine | ) |
Definition at line 146 of file qv4persistent.cpp.
| QV4::PersistentValueStorage::~PersistentValueStorage | ( | ) |
Definition at line 152 of file qv4persistent.cpp.
| Value * QV4::PersistentValueStorage::allocate | ( | ) |
Definition at line 171 of file qv4persistent.cpp.
|
inline |
Definition at line 54 of file qv4persistent_p.h.
| void QV4::PersistentValueStorage::deallocateEmptyPages | ( | ) |
Unmaps pages that hold neither values nor iterators. Pages that become empty are not unmapped right away, so that allocating and freeing a value in a loop doesn't map and unmap a page each time. Instead, the garbage collector calls this at the end of each cycle.
Definition at line 225 of file qv4persistent.cpp.
|
inline |
Definition at line 55 of file qv4persistent_p.h.
References QV4::PersistentValueStorage::Iterator::Iterator().
Definition at line 33 of file qv4persistent_p.h.
|
static |
Definition at line 243 of file qv4persistent.cpp.
Definition at line 208 of file qv4persistent.cpp.
| ExecutionEngine* QV4::PersistentValueStorage::engine |
Definition at line 61 of file qv4persistent_p.h.
Definition at line 62 of file qv4persistent_p.h.
Definition at line 63 of file qv4persistent_p.h.