aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/CodegenDriver.c
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2010-05-06 13:39:07 -0700
committerAndy McFadden <fadden@android.com>2010-05-12 09:59:16 -0700
commit77514abeade6960daf67f5fec3a865df29ea0256 (patch)
treedfc7855a2000b726a56455704b24c78f02d6f483 /vm/compiler/codegen/arm/CodegenDriver.c
parent7800c097fe06c046a1f6bed8650dd546d7b7a886 (diff)
Plug leak in class initialization.
Don't add static fields and methods to the resolved-items table if the defining class is still being initialized. If we do, other threads can then access those fields and methods without first performing an "is the class initialized" test. We will end up performing static field and method resolution more often now than before. On a Nexus One, zygote class preload time went from 2227ms to 2239ms (i.e. the performance difference is in the noise). Bug 2655384. (Re-applying this after the JIT fix.) Change-Id: I14846865313730f705b819c5893456e342316e2e
Diffstat (limited to 'vm/compiler/codegen/arm/CodegenDriver.c')
0 files changed, 0 insertions, 0 deletions