OSDN Git Service

Avoid recomputing the dex checksum during class loading
authorCalin Juravle <calin@google.com>
Tue, 2 Sep 2014 14:53:55 +0000 (15:53 +0100)
committerCalin Juravle <calin@google.com>
Fri, 5 Sep 2014 15:33:50 +0000 (16:33 +0100)
commit621962a0872bf328dba7eda44061f0f505014cef
tree5212d8448e57e959dc6bac16ca9be4dffc522f1a
parenta8c55ae449ad423087f232b2fec1064062755970
Avoid recomputing the dex checksum during class loading

Thread the already computed checksum to VerifyOatAndDexFileChecksums and
LoadMultiDexFilesFromOatFile to avoid recomputing it.

Bug:17346103

(cherry picked from commit ca3459398018360d9968a52eebf727df085caf83)

Change-Id: Ie244efaca55b9e7c814b35feec7fce11fab3856d
runtime/class_linker.cc
runtime/class_linker.h