diff options
| author | 2012-05-16 14:48:43 -0700 | |
|---|---|---|
| committer | 2012-05-16 14:52:35 -0700 | |
| commit | 7dc5166ea740359d381097a7ab382c1dd404055f (patch) | |
| tree | 8b429913befc8ad0bf8e7e2247e0ec8ef684aaa6 /src/compiler_llvm/method_compiler.h | |
| parent | 0aac50652ef961ba3aafa44d43871190d23be1ce (diff) | |
Improve our check for whether a thread is still starting up.
It turns out that there was a race in Thread::Create that could confuse our
suspend-count sanity checking. Tested by manually inserting a sleep(3) there.
I could have added an extra field to Thread, but since we only need to check
this once if we do a GC while a thread is still starting up, a simple string
comparison will be fine.
thread_list.cc:79] Thread[10,tid=7447,VmWait,Thread*=0x00d23060,peer=0x60f1b350,"<native thread without managed peer>"] suspend count already zero
I've also added some logging so we'll be nagged to remove a work-around for
a bionic bug when we're in a tree where the bionic bug is fixed.
Change-Id: I78ac3c58245c1ecff3e86dcf297b94ae0085f7a2
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
0 files changed, 0 insertions, 0 deletions