diff options
author | Igor Murashkin <iam@google.com> | 2017-07-28 18:06:26 -0700 |
---|---|---|
committer | Igor Murashkin <iam@google.com> | 2017-08-01 13:08:55 -0700 |
commit | ad35190e30215f3bc905f897374a02bb3251a5fd (patch) | |
tree | b338bcd84c83efebc77d0f7f7cf0ec6add197936 /compiler/optimizing/graph_visualizer.cc | |
parent | d54ac26d69f21d04af8e4d55a2fba6a7fa405f00 (diff) |
tools: Fix art script to delete OAT files before running dalvikvm
This way if the compiler filter (or other flags) are changed,
re-running the art script will use the new options.
In particular it fixes 'art --profile', previously it would just
reuse the OAT file from the first profiling (jit) run.
Test: art --profile -Xcompiler-option --compiler-filter=speed-profile -cp generated/benchmarks.dex benchmarks.CaffeineLoop.java.CaffeineLoop
Test: adb shell art --32 --profile -Xcompiler-option --compiler-filter=speed-profile -cp /data/local/tmp/benchmarks.dex benchmarks.CaffeineLoop.java.CaffeineLoop
Bug: 64162479
Change-Id: Ief1784b48c78464da91e71a649a6cf4b57c51b41
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions