V8js
V8 JS Attributes
Describes V8 JS Engine Runtime related attributes.
Attributes:
| Key | Stability | Value Type | Description | Example Values |
|---|---|---|---|---|
v8js.gc.type | string | The type of garbage collection. | major; minor; incremental | |
v8js.heap.space.name | string | The name of the space type of heap memory. [1] | new_space; old_space; code_space | |
v8js.resource.type | string | The type of resource keeping the event loop active. | Immediate; TCPServerWrap; TCPWrap |
[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). | |
major | Major (Mark Sweep Compact). | |
minor | Minor (Scavenge). | |
weakcb | Weak Callbacks (Process Weak Callbacks). |
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. | |
large_object_space | Large object memory space. | |
map_space | Map memory space. | |
new_space | New memory space. | |
old_space | Old memory space. |
v8js.resource.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 |
|---|---|---|
Immediate | Active setImmediate callbacks. | |
TCPServerWrap | Active TCP Servers. | |
TCPWrap | Active TCP connections. | |
Timeout | Active setTimeout or setInterval timers. | |
TTYWrap | Active Terminal I/O (stdin/stdout). |
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!