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 21:38:31 +0000 (21:38 +0000)
commitd6527cf8e824d9057f32755f2ff4bdcf46c7095b
tree54033104b338cb168080330f99645bc6f76579f1
parent523cd7f94f80473e4541edf6e38798489f6126dc
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
Change-Id: I6bd71f43e84eae8585993da656bf1577095607a9
runtime/debugger.cc