4. Dalvik Log Messages
D/dalvikvm: <GC_Reason> <Amount_freed>, <Heap_stats>, <External_memory_stats>, <Pause_time>
In Dalvik (but not ART), every GC prints the following
information to logcat:
D/dalvikvm( 9050): GC_CONCURRENT freed 2049K, 65% free 3571K/9991K, external 4703K/5261K,
paused 2ms+2ms
Example:
5. ART Log Messages
ART includes the following information in its garbage
collection log messages:
I/art: <GC_Reason> <GC_Name> <Objects_freed>(<Size_freed>) AllocSpace Objects,
<Large_objects_freed>(<Large_object_size_freed>) <Heap_stats> LOS objects, <Pause_time(s)>
Example:
I/art : Explicit concurrent mark sweep GC freed 104710(7MB) AllocSpace objects, 21(416KB)
LOS objects, 33% free, 25MB/38MB, paused 1.230ms total 67.216ms