OSDN Git Service

Add standard gc log for transition collections.
authorHiroshi Yamauchi <yamauchi@google.com>
Thu, 26 Feb 2015 20:53:45 +0000 (12:53 -0800)
committerHiroshi Yamauchi <yamauchi@google.com>
Thu, 26 Feb 2015 20:59:20 +0000 (12:59 -0800)
commite4d99873eb1dbee956d76c1edef489103898b33f
tree378c72e5fbe52bc9bcf1623215ba73fb3b288087
parentf5c224cca603ef1dba9bb80952613facc22598fa
Add standard gc log for transition collections.

Factor out the gc log logic into a function.

Note we still don't log in background as before but do for things like
OOME compactions in foreground.

Change-Id: Ifd35a796cf26aba2fba83bf07e72902357d91f8b
runtime/gc/heap.cc
runtime/gc/heap.h