diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-09-04 18:33:17 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-09-08 17:44:56 -0700 |
commit | 8a39e7fe02e9a81853dc7a75cb50d9ece07a9b37 (patch) | |
tree | 2855e9117349705f264fc5cbbef6a9aece147efd /test/ProfileTestMultiDex/Main.java | |
parent | 2c63eee334bca18536060eea2e4a2f7883ef8eb9 (diff) |
Add fast path for FindClass using the type dex file.
If we are using the PathClassLoader with a BootClassLoader
parent, we can handle the common case in the FindClass function
without needing to go back to java code.
Around 10% speedup measured of maps launch, could be noise due to
large variation of app launch times. Eliminates defineClassNative
from being anywhere near the top of sampling profiles.
Bug: 17397179
Bug: 16828525
Change-Id: Ide0db2b5f6cf5b96fc46e89178e0799de667cb88
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions