diff options
| author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-04-27 19:54:29 +0000 |
|---|---|---|
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-04-27 19:54:31 +0000 |
| commit | 04471122e705aba2b3b30651457097a8f3ac97b6 (patch) | |
| tree | a0a72bfbaeff39ad8efe8ce9dbe8a3ec74f808f7 /dexoptanalyzer | |
| parent | 34ed966ae7e232817dd70afb924518b7cb8fb6a9 (diff) | |
| parent | fd80b17832b793801f10fa90e1d98324a3405e21 (diff) | |
| download | art-04471122e705aba2b3b30651457097a8f3ac97b6.tar.gz art-04471122e705aba2b3b30651457097a8f3ac97b6.tar.bz2 art-04471122e705aba2b3b30651457097a8f3ac97b6.zip | |
Merge changes If6bd630c,Iade01cd5,I2ca823e1,Ib2899bce,I123f30f9
* changes:
ART: Blacklist dex2oat test under sanitization
ART: Fix leaks in oat symbolizer
ART: Free resources in dexlayout
ART: Destroy temporary holder in dex_ir
ART: Shut down runtime in dexoptanalyzer
Diffstat (limited to 'dexoptanalyzer')
| -rw-r--r-- | dexoptanalyzer/dexoptanalyzer.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dexoptanalyzer/dexoptanalyzer.cc b/dexoptanalyzer/dexoptanalyzer.cc index 965e4073ea..9a2eb7f8dd 100644 --- a/dexoptanalyzer/dexoptanalyzer.cc +++ b/dexoptanalyzer/dexoptanalyzer.cc @@ -216,6 +216,8 @@ class DexoptAnalyzer FINAL { if (!CreateRuntime()) { return kErrorCannotCreateRuntime; } + std::unique_ptr<Runtime> runtime(Runtime::Current()); + OatFileAssistant oat_file_assistant(dex_file_.c_str(), isa_, /*load_executable*/ false); // Always treat elements of the bootclasspath as up-to-date. // TODO(calin): this check should be in OatFileAssistant. |
