OSDN Git Service

Hold mutator lock in DdmSendHeapSegments for all spaces
authorMathieu Chartier <mathieuc@google.com>
Fri, 10 Oct 2014 19:45:50 +0000 (12:45 -0700)
committerMathieu Chartier <mathieuc@google.com>
Fri, 10 Oct 2014 22:45:35 +0000 (15:45 -0700)
commit4c69d7f4df78d20c631abc5f70b811a9944854d3
treed4480e82ff05207d15a2f6af60223504ac702ed8
parenta9b097443f26a6df1a322a8fef50fdd1f26a410b
Hold mutator lock in DdmSendHeapSegments for all spaces

Previously we were releasing the mutator lock in DdmSendHeapSegments
and only reacquiring it for RosAlloc spaces. This was causing problems
since the HeapChunkCallback access object fields through mirror.

Bug: 17950534

(cherry picked from commit d6527cf8e824d9057f32755f2ff4bdcf46c7095b)

Change-Id: Idb307fd4c01450a07e3c9621e04d2aabf2c6a0b9
runtime/debugger.cc