summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-05-06 11:27:27 -0700
committerIan Rogers <irogers@google.com>2014-05-06 14:42:27 -0700
commit151f2214d95f6003fe067fa2ebcd8ddad11e735c (patch)
tree0b9d01940d0f483526134e5e1136e69ce9db3c6f /compiler/optimizing/graph_visualizer.h
parent36b65964d128471d917c2efc69c81bc50ef9360b (diff)
Improve ValidateSuperClassDescriptors performance.
ValidateSuperClassDescriptors uses FindClass with the 2 class loaders that are being used in validating method parameter types. The use of 2 class loaders ensures at least one miss with LookupClass and thereby a call to ClassLoader.loadClass which will then defer to the parent class loader eating time. This change modifies the behavior to instead lookup types with a dex cache, so that resolution and load class are only performed once per type. Bug: 12804658 Change-Id: Ia7be1f7bab8175a6934fd59fc54e0829beed0198
Diffstat (limited to 'compiler/optimizing/graph_visualizer.h')
0 files changed, 0 insertions, 0 deletions