commit | 20c46443ee06060838643abd7a2dcad339f71358 | [log] [tgz] |
---|---|---|
author | Calin Juravle <calin@google.com> | Tue Sep 12 00:54:26 2017 -0700 |
committer | Andreas Gampe <agampe@google.com> | Wed Nov 01 08:47:23 2017 -0700 |
tree | 5b77f909c9bd2f9b4adbc4a3a47f39696f3583f0 | |
parent | 4536a234e56aa7038198ab8c124fe117ef882192 [diff] |
[art] Add classpath check to DexFile.getDexOptNeeded Extend DexFile.getDexOptNeeded to factor into the decision the expected class loader context. If the context does not match oat file assistant and dexoptanalyzer will advise kDex2OatFromScratch. (cherry picked from commit baafa55aede7cc43a27d76bd88ccc02152123ecf) Bug: 62269291 Test: m test-art-host Merged-In: I3a8e9321fe602712fac3595b790168b271918f10 Change-Id: I3a8e9321fe602712fac3595b790168b271918f10