mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 02:17:14 +00:00
fc2fcf9bc8
The Scavenge (young-gen) GCs on the main thread have to wait for other threads to check in at a safe point. We were seeing big waits here, often 20ms, occasionally up to 180ms where the main thread is idling, waiting for the optimizing compiler. By adding more safe points the wait is reduced and is now rarely over 10ms, often under 1ms. This also changes the --verbose-gc output to be better aligned with the column headings, and to add the time needed to get to the safe point to the output, eg: [ GC(784211551): Scavenge(new space), 18, 2.209, 76.009, 32768, 0, 32768, 32768, 0, 0, 144912, 154425, 152064, 154880, 0, 0, 46.984, 2.752, 7.407, 18.657, 0.033, 5421, 0, 0, 0, ] ^^^^^^ Scavenge time ^^^^^^ safe point time. R=vegorov@google.com BUG= Review-Url: https://codereview.chromium.org/2771013002 . |
||
---|---|---|
.. | ||
gyp | ||
.gitignore | ||
android_finder.py | ||
benchmark.py | ||
bmu_benchmark_gallery.sh | ||
concatenate_patches.py | ||
create_archive.py | ||
create_resources.py | ||
create_snapshot_bin.py | ||
create_snapshot_file.py | ||
create_string_literal.py | ||
gen_library_src_paths.py | ||
generate_projects.py | ||
utils.py | ||
valgrind.py | ||
verbose_gc_to_bmu.dart |