aboutsummaryrefslogtreecommitdiff
path: root/vm/compiler/codegen/arm/LocalOptimizations.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-06 15:25:39 -0700
commitd07cf9d69dddeebb91386a88f7b6d2323cf125a9 (patch)
tree686d53970cae1a09ca1d24a31b30f609acf41b6c /vm/compiler/codegen/arm/LocalOptimizations.c
parentfd1674c75d7b6500168137a2213877e45e49bbd2 (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. Change-Id: Ib0c285ef23d58ae709be65f09efb68e73f982084
Diffstat (limited to 'vm/compiler/codegen/arm/LocalOptimizations.c')
0 files changed, 0 insertions, 0 deletions