OSDN Git Service

Invoke dex2oat explictly before dalvikvm
authorCalin Juravle <calin@google.com>
Wed, 12 Apr 2017 02:04:28 +0000 (19:04 -0700)
committerCalin Juravle <calin@google.com>
Tue, 18 Apr 2017 21:10:44 +0000 (14:10 -0700)
commit4806f7afc92b1812cefaab291235d01773732400
treefffd8712912a2e37a8981e85698d877dc1f8196b
parent4707af81bc10bda1c4320288246170e444c69942
Invoke dex2oat explictly before dalvikvm

The goal is to stop relying on dex2oat being run when dex files are
loaded.

Test: ./out/host/linux-x86/bin/art --profile -Ximage:$PWD/out/host/linux-x86/framework/core.art -Xusejit:true -Xcompiler-option --compiler-filter=speed -Xcompiler-option --compiler-backend=Optimizing -verbose:oat -Djava.library.path=$PWD/out/x86_64/host/linux-x86/lib64 -cp $PWD/generated/benchmarks.dex benchmarks.ExoPlayerBench.java.ExoPlayerBench

Bug: 36824842
Change-Id: I9f4a1384cdc91502edea08402ee984c57ff8c37d
tools/art