OSDN Git Service

Background full compaction for CC.
authorHiroshi Yamauchi <yamauchi@google.com>
Wed, 24 Aug 2016 20:53:12 +0000 (13:53 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Fri, 26 Aug 2016 00:36:17 +0000 (17:36 -0700)
commit60985b7a56d4fa7170721808734093a3affc41c6
tree5d6ece230901d43318da00d51848063644dafa62
parentebb5d0f3bcc1e7cb1a2cd4362dccb68cbdf8bbb4
Background full compaction for CC.

Invoke a full compaction with the CC collector when an app goes to the
background like the HSpace compaction for the CMS collector.

Bug: 31039431
Bug: 12687968
Test: test-art, Ritz EAAC, N9 libartd.so device boot with CC
Change-Id: I119aa26c1d3c167b12983fffcb16164929bf8f68
cmdline/cmdline_types.h
runtime/gc/collector/concurrent_copying.cc
runtime/gc/collector_type.h
runtime/gc/heap.cc
runtime/gc/heap.h