commit | 3b6ee1a417a717c44e2a59ed73c930f4be8ea54b | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Tue Aug 24 14:23:11 2010 -0700 |
committer | Andy McFadden <fadden@android.com> | Wed Aug 25 12:16:01 2010 -0700 |
tree | 63fd04f7eedccd0afec2649744e156fa4b86a8e1 | |
parent | f16cfefc199d1416c5f83446c1d299786accc737 [diff] |
Fix a DDMS thread monitoring crash. We changed the order of events during thread attaches, which means it's now possible to have Thread structs with null threadObj fields. This bit of code didn't change with the times, which made it possible for a process being watched by DDMS to crash if we grabbed the thread state at just the wrong time. (cherry-pick from dalvik-dev) Change-Id: Icd7f523ee8327f00693e601c1c82d3a8defb247f