OSDN Git Service

Disable parallel GC by default
authorMathieu Chartier <mathieuc@google.com>
Wed, 15 Apr 2015 21:21:33 +0000 (14:21 -0700)
committerMathieu Chartier <mathieuc@google.com>
Wed, 15 Apr 2015 21:42:50 +0000 (14:42 -0700)
commit10d6886c9ce3ed87431cf10d376a69c23950fa61
tree52cfc18e941d78e480c5fdacda57721083b5e51f
parenta76a08fed88bd081bcc4d240f1ba3472a2acbbab
Disable parallel GC by default

Not using parallel GC seems to reduce avg pauses by ~0.1s on
EvaluateAndApplyChanges. Avoiding creating the thread pool should
help app launch slightly and reduce memory ussage.

Change-Id: Iebec2a17701c76e4145b41d7c0b4f6dd17806efa
runtime/gc/collector/mark_sweep.cc
runtime/gc/heap.h
runtime/parsed_options.cc
runtime/runtime_options.def