V8js

V8 JS Attributes

Describes V8 JS Engine Runtime related attributes.

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

[1]: 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).Experimental
majorMajor (Mark Sweep Compact).Experimental
minorMinor (Scavenge).Experimental
weakcbWeak Callbacks (Process Weak Callbacks).Experimental

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.Experimental
large_object_spaceLarge object memory space.Experimental
map_spaceMap memory space.Experimental
new_spaceNew memory space.Experimental
old_spaceOld memory space.Experimental