v8
9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
|
#include <custom-space.h>
Public Member Functions | |
CustomSpaceIndex | GetCustomSpaceIndex () const final |
bool | IsCompactable () const final |
Public Member Functions inherited from CustomSpaceBase | |
virtual | ~CustomSpaceBase ()=default |
Static Public Attributes | |
static constexpr bool | kSupportsCompaction = false |
Base class custom spaces should directly inherit from. The class inheriting from CustomSpace
must define kSpaceIndex
as unique space index. These indices need for form a sequence starting at 0.
Example:
Definition at line 49 of file custom-space.h.
|
inlinefinalvirtual |
Implements CustomSpaceBase.
Definition at line 57 of file custom-space.h.
|
inlinefinalvirtual |
Implements CustomSpaceBase.
Definition at line 60 of file custom-space.h.
|
staticconstexpr |
Compaction is only supported on spaces that manually manage slots recording.
Definition at line 55 of file custom-space.h.