Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 2.29 KB

File metadata and controls

38 lines (27 loc) · 2.29 KB

V8js

V8 JS Attributes

Describes V8 JS Engine Runtime related attributes.

Attribute Type Description Examples Stability
v8js.gc.type string The type of garbage collection. major; minor; incremental Development
v8js.heap.space.name string The name of the space type of heap memory. [1] new_space; old_space; code_space Development

[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.

Value Description Stability
incremental Incremental (Incremental Marking). Development
major Major (Mark Sweep Compact). Development
minor Minor (Scavenge). Development
weakcb Weak 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.

Value Description Stability
code_space Code memory space. Development
large_object_space Large object memory space. Development
map_space Map memory space. Development
new_space New memory space. Development
old_space Old memory space. Development