diff options
author | Calin Juravle <calin@google.com> | 2017-09-12 00:54:26 -0700 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2017-09-14 15:20:05 -0700 |
commit | 659a7dccd73c6b67e2d8bf56c84c09cbe69215c1 (patch) | |
tree | dec7553c35d4df5eb279fa4c0a94093abbb1bbfd /libnativebridge/tests/CodeCacheCreate_test.cpp | |
parent | e3a51549a3b458fb9d8dee5a267889a4e70c26b2 (diff) |
Add check that classpath is up to date to getDexOptNeeded
Extend 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.
Note that this does not currently extend the java side
DexFile.getDexOptNeeded. The calls coming from the java side will continue
to ignore the classpath checks by passing null as the class loader
context.
Bug: 62269291
Test: m test-art-host
Change-Id: Ia01728c06810e418bbcbfe2a774d1f904d2525ba
Diffstat (limited to 'libnativebridge/tests/CodeCacheCreate_test.cpp')
0 files changed, 0 insertions, 0 deletions