Last active
September 23, 2019 00:54
-
-
Save agreatfool/34dc4c99fe42afdd1dc6a8c43d638edf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ node -v | |
v8.4.0 | |
$ node --v8-options | grep gc | |
--gc_global (always perform global GCs) | |
--gc_interval (garbage collect after <n> allocations) | |
--retain_maps_for_n_gc (keeps maps alive for <n> old space garbage collections) | |
--trace_gc (print one trace line following each garbage collection) | |
--trace_gc_nvp (print one detailed trace line in name=value format after each garbage collection) | |
--trace_gc_ignore_scavenger (do not print trace line after scavenger collection) | |
--trace_gc_verbose (print more details following each garbage collection) | |
--trace_mutator_utilization (print mutator utilization, allocation speed, gc speed) | |
--track_gc_object_stats (track object counts and memory usage) | |
--trace_gc_object_stats (trace object counts and memory usage) | |
--gc_stats (Used by tracing internally to enable gc statistics) | |
--cleanup_code_caches_at_gc (Flush code caches in maps during mark compact cycle.) | |
--expose_gc (expose gc extension) | |
--expose_gc_as (expose gc extension under the specified name) | |
--log_gc (Log heap samples on garbage collection for the hp2ps tool.) | |
--gc_fake_mmap (Specify the name of the file for fake gc mmap used in ll_prof) | |
type: string default: /tmp/__v8_gc__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment