summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver_test.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2016-11-17 13:08:35 -0800
committerMathieu Chartier <mathieuc@google.com>2016-11-21 13:28:23 -0800
commit32b50302d9826430013e008b45d5c71e6b7a2469 (patch)
tree210a7c575cc246787afdbbd988a45c8f38b8b169 /compiler/driver/compiler_driver_test.cc
parenta598b869b255b4daeaa34d1dd0939222a3a791b7 (diff)
Check same dex file for finding class descriptor string id
Use ClassDef for finding same dex file class descriptor string id for vdex. Removes some calls to FindStringId, the remaining calls to FindStringId are due to multidex or referring to types in the boot class path. Also check method index slot to see if we get lucky. Host perf: DexFile::FindStringId: 2.57% -> 0.94% Not done for fields since these do not seem to reach the FindStringId case accordingto perf. The remaining calls to FindStringId come from: 100.00% verifier::VerifierDeps::GetClassDescriptorStringId -> 66.62% verifier::VerifierDeps::AddAssignability -> 33.38% verifier::VerifierDeps::AddMethodResolution FB install time: 35.54s -> 34.41s (avg of 40 samples at 960MHZ N6P). Bug: 32641252 Test: test-art-host Change-Id: If50408cf1be5c2d2127140780b8d5af66306939c
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
0 files changed, 0 insertions, 0 deletions