summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/MethodCodegenDriver.cc
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2011-11-07 14:40:00 -0800
committer Elliott Hughes <enh@google.com> 2011-11-07 14:40:00 -0800
commitbbd9d830fe0eb8ce44405d7504dcf9a6fe91ffa1 (patch)
tree211747a79d87a2412c156e42713eea4638bbc340 /src/compiler/codegen/arm/MethodCodegenDriver.cc
parentc2f8006ede3d07ca53467fa73573bdbfb864a65e (diff)
Fix at least two deadlocks.
Pretty much every caller that takes the thread list lock can then go on to cause allocation, which requires the heap lock. The GC always takes the heap lock first and the thread list lock second (to suspend/resume other threads). Cue deadlocks. This patch is a pretty degenerate fix that basically makes the thread list lock irrelevant; we now always take the heap lock first. Change-Id: I0537cffb0b841bfb5033789817793734d75dfb31
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
0 files changed, 0 insertions, 0 deletions