summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2017-09-12 00:54:26 -0700
committerCalin Juravle <calin@google.com>2017-09-14 16:29:15 -0700
commit44e5efa4ae79cf76c65f37fc41c1fa0ed431ec4a (patch)
tree7f144c75386ca4584455bfa87c356824f4aadfb9 /compiler/optimizing/graph_visualizer.cc
parentc5b215f7004c46a274a54e232f0cd146c7494f9a (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 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions