summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2012-03-01 18:46:05 -0800
committer Elliott Hughes <enh@google.com> 2012-03-01 21:15:36 -0800
commitffb465f23d9549dd591e6aa62e9250523cb00233 (patch)
tree2108ba79a4ec8031faa56ef0806f93bc2217c237 /src/compiler_llvm/compiler_llvm.cc
parent71ac99485e79ad7eb1ba3ea2d404d53bb5784c13 (diff)
libcorkscrew native stacks, mutex ranking, and better ScopedThreadListLock.
This change uses libcorkscrew to show native stacks for threads in kNative or, unlike dalvikvm, kVmWait --- working on the runtime directly I've found it somewhat useful to be able to see _which_ internal resource we're waiting on. We can always take that back out (or make it oatexecd-only) if it turns out to be too noisy/confusing for app developers. This change also lets us rank mutexes and enforce -- in oatexecd -- that you take locks in a specific order. Both of these helped me test the third novelty: removing the heap locking from ScopedThreadListLock. I've manually inspected all the callers and added a ScopedHeapLock where I think one is necessary. In manual testing, this makes jdb a lot less prone to locking us up. There still seems to be a problem with the JDWP VirtualMachine.Resume command, but I'll look at that separately. This is a big enough and potentially disruptive enough change already. Change-Id: Iad974358919d0e00674662dc8a69cc65878cfb5c
Diffstat (limited to 'src/compiler_llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions