OSDN Git Service

Fix identifier size in the heap dump.
authorCalin Juravle <calin@google.com>
Fri, 4 Jul 2014 15:24:03 +0000 (16:24 +0100)
committerCalin Juravle <calin@google.com>
Thu, 17 Jul 2014 20:06:19 +0000 (21:06 +0100)
commit3280517651195602253ed92a2749964e96cad27e
tree9e91047bf950a7eddbb551534dc10078be74251c
parent6dfa4188d5cbe7cb1c89011cda80e1c261ae30f0
Fix identifier size in the heap dump.

We're using addresses as IDs and previously we would have written
sizeof(void*) as the identifier size in the header. Heap references
are actually uint32_t so writting 4 bytes should be enough.

Bug: 16016862
Change-Id: I785abf5030681b6009370b7b2d7552e8b4b54e67
runtime/hprof/hprof.cc