OSDN Git Service

Only log a few types of GC causes for the blocking cases
authorMathieu Chartier <mathieuc@google.com>
Tue, 25 Apr 2017 23:31:20 +0000 (16:31 -0700)
committerMathieu Chartier <mathieuc@google.com>
Tue, 25 Apr 2017 23:38:42 +0000 (16:38 -0700)
commit3b91fccc0a83c6c9ce7fef484495f863d739baff
treec31908dfcfaca2078715af0b762d162b55384d24
parent6c4f860c9503d627ed3aae9c4f4fc0d80265da63
Only log a few types of GC causes for the blocking cases

There are various types like debugger and GetObjectsAllocated that
can cause spam if we log all the blocking calls. In practice, these
are only used from tools and should not cause jank.

Bug: 37275712
Test: test-art-host
Change-Id: I3a6854d37a6e83c91e9cc8bcb76103e2498bc3b6
runtime/gc/heap.cc