V8js

V8 JS Attributes

Describes V8 JS Engine Runtime related attributes.

AttributeTypeDescriptionExamplesStability
v8js.gc.typestringThe type of garbage collection.major; minor; incrementalDevelopment
v8js.heap.space.namestringThe name of the space type of heap memory. [1]new_space; old_space; code_spaceDevelopment

[1] v8js.heap.space.name: Value can be retrieved from value space_name of v8.getHeapSpaceStatistics()


v8js.gc.type has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
incrementalIncremental (Incremental Marking).Development
majorMajor (Mark Sweep Compact).Development
minorMinor (Scavenge).Development
weakcbWeak Callbacks (Process Weak Callbacks).Development

v8js.heap.space.name has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

ValueDescriptionStability
code_spaceCode memory space.Development
large_object_spaceLarge object memory space.Development
map_spaceMap memory space.Development
new_spaceNew memory space.Development
old_spaceOld memory space.Development