aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/RallocUtil.c
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2010-01-26 13:22:04 -0800
committerCarl Shapiro <cshapiro@google.com>2010-01-26 14:06:59 -0800
commitef5b4d3a0db17756c0e9bb90f14e18c4bf17a446 (patch)
tree6c8f775aa3aeef6ca95d171f737fa11467054182 /vm/compiler/codegen/arm/RallocUtil.c
parent07b359273a838a15accafefcbe861be15caaac3a (diff)
Test the lock shape before falling into the thin lock code. The
original formulation of this code relied on the subtly that the low bit of a thread id is always 1 and so the shape bit was punned with LSB of the thread id. This got us two tests for the price of one. When this code was moved forward to the new lock encoding scheme, we did not crack the test in two. This should correct the oversight.
Diffstat (limited to 'vm/compiler/codegen/arm/RallocUtil.c')
0 files changed, 0 insertions, 0 deletions