OSDN Git Service

Minor improvements for the CC collector.
authorHiroshi Yamauchi <yamauchi@google.com>
Thu, 29 Oct 2015 03:59:47 +0000 (20:59 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Mon, 2 Nov 2015 19:41:08 +0000 (11:41 -0800)
commit723e6cee35671d2dd9aeb884dd11f6994307c01f
treed9757c4b954331756239cb8214e8933db46ddad5
parent59cc4e8306879ee7066d51dad4cba140e58c7292
Minor improvements for the CC collector.

- Split Mark() and inline its first part.
- Make sure some other routines are inlined.
- Add some UNLIKELY's.
- Use VisitConcurrentRoots().

Ritz EAAC GC time decreased from 28.9 -> 27.6s (-4.5%) on N5.

Bug: 12687968

Change-Id: I7bd13f162e7daa2a5853000fb22c5fefc318994f
runtime/gc/collector/concurrent_copying-inl.h [new file with mode: 0644]
runtime/gc/collector/concurrent_copying.cc
runtime/gc/collector/concurrent_copying.h
runtime/mirror/object.h
runtime/mirror/object_array-inl.h
runtime/read_barrier-inl.h