diff options
author | Stephen Kyle <stephenckyle@googlemail.com> | 2015-03-27 18:50:10 +0000 |
---|---|---|
committer | Stephen Kyle <stephenckyle@googlemail.com> | 2015-04-02 13:01:27 +0100 |
commit | 1ec46bc71778dc1463e60c53f7126dcf6c913a44 (patch) | |
tree | 7d6651f8a3c9b43013123cafde86b7a3dfb06525 /tools | |
parent | c6e949a6d93fae2351fc59ed825657adee8185dc (diff) | |
download | art-1ec46bc71778dc1463e60c53f7126dcf6c913a44.zip art-1ec46bc71778dc1463e60c53f7126dcf6c913a44.tar.gz art-1ec46bc71778dc1463e60c53f7126dcf6c913a44.tar.bz2 |
Update dexfuzz after optimizing default selection.
Now that the optimizing compiler is the default backend, the quick
compiler must be explicitly selected as an argument.
Change-Id: I5e6b8e6a79432118e0a91c9aea85bdd9cd7305dc
Diffstat (limited to 'tools')
6 files changed, 6 insertions, 6 deletions
diff --git a/tools/dexfuzz/src/dexfuzz/executors/Arm64QuickBackendExecutor.java b/tools/dexfuzz/src/dexfuzz/executors/Arm64QuickBackendExecutor.java index 726a7a8..7251ec5 100644 --- a/tools/dexfuzz/src/dexfuzz/executors/Arm64QuickBackendExecutor.java +++ b/tools/dexfuzz/src/dexfuzz/executors/Arm64QuickBackendExecutor.java @@ -27,7 +27,7 @@ public class Arm64QuickBackendExecutor extends Executor { @Override public void execute(String programName) { StringBuilder commandBuilder = new StringBuilder(); - commandBuilder.append("dalvikvm64 "); + commandBuilder.append("dalvikvm64 -Xcompiler-option --compiler-backend=Quick "); if (device.noBootImageAvailable()) { commandBuilder.append("-Ximage:/data/art-test/core.art -Xnorelocate "); } diff --git a/tools/dexfuzz/src/dexfuzz/executors/ArmQuickBackendExecutor.java b/tools/dexfuzz/src/dexfuzz/executors/ArmQuickBackendExecutor.java index 611270b..7d226e8 100644 --- a/tools/dexfuzz/src/dexfuzz/executors/ArmQuickBackendExecutor.java +++ b/tools/dexfuzz/src/dexfuzz/executors/ArmQuickBackendExecutor.java @@ -27,7 +27,7 @@ public class ArmQuickBackendExecutor extends Executor { @Override public void execute(String programName) { StringBuilder commandBuilder = new StringBuilder(); - commandBuilder.append("dalvikvm32 "); + commandBuilder.append("dalvikvm32 -Xcompiler-option --compiler-backend=Quick "); if (device.noBootImageAvailable()) { commandBuilder.append("-Ximage:/data/art-test/core.art -Xnorelocate "); } diff --git a/tools/dexfuzz/src/dexfuzz/executors/Mips64QuickBackendExecutor.java b/tools/dexfuzz/src/dexfuzz/executors/Mips64QuickBackendExecutor.java index bebf27c..36e39c2 100644 --- a/tools/dexfuzz/src/dexfuzz/executors/Mips64QuickBackendExecutor.java +++ b/tools/dexfuzz/src/dexfuzz/executors/Mips64QuickBackendExecutor.java @@ -27,7 +27,7 @@ public class Mips64QuickBackendExecutor extends Executor { @Override public void execute(String programName) { StringBuilder commandBuilder = new StringBuilder(); - commandBuilder.append("dalvikvm64 "); + commandBuilder.append("dalvikvm64 -Xcompiler-option --compiler-backend=Quick "); commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); commandBuilder.append(executeClass); executionResult = executeCommandWithTimeout(commandBuilder.toString(), true); diff --git a/tools/dexfuzz/src/dexfuzz/executors/MipsQuickBackendExecutor.java b/tools/dexfuzz/src/dexfuzz/executors/MipsQuickBackendExecutor.java index a534866..0ea166b 100644 --- a/tools/dexfuzz/src/dexfuzz/executors/MipsQuickBackendExecutor.java +++ b/tools/dexfuzz/src/dexfuzz/executors/MipsQuickBackendExecutor.java @@ -27,7 +27,7 @@ public class MipsQuickBackendExecutor extends Executor { @Override public void execute(String programName) { StringBuilder commandBuilder = new StringBuilder(); - commandBuilder.append("dalvikvm32 "); + commandBuilder.append("dalvikvm32 -Xcompiler-option --compiler-backend=Quick "); commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); commandBuilder.append(executeClass); executionResult = executeCommandWithTimeout(commandBuilder.toString(), true); diff --git a/tools/dexfuzz/src/dexfuzz/executors/X86QuickBackendExecutor.java b/tools/dexfuzz/src/dexfuzz/executors/X86QuickBackendExecutor.java index 4a68bde..7e4a2f6 100644 --- a/tools/dexfuzz/src/dexfuzz/executors/X86QuickBackendExecutor.java +++ b/tools/dexfuzz/src/dexfuzz/executors/X86QuickBackendExecutor.java @@ -28,7 +28,7 @@ public class X86QuickBackendExecutor extends Executor { @Override public void execute(String programName) { StringBuilder commandBuilder = new StringBuilder(); - commandBuilder.append("dalvikvm32 "); + commandBuilder.append("dalvikvm32 -Xcompiler-option --compiler-backend=Quick "); if (Options.executeOnHost) { commandBuilder.append(device.getHostExecutionFlags()).append(" "); } diff --git a/tools/dexfuzz/src/dexfuzz/executors/X86_64QuickBackendExecutor.java b/tools/dexfuzz/src/dexfuzz/executors/X86_64QuickBackendExecutor.java index 9579b76..995cba2 100644 --- a/tools/dexfuzz/src/dexfuzz/executors/X86_64QuickBackendExecutor.java +++ b/tools/dexfuzz/src/dexfuzz/executors/X86_64QuickBackendExecutor.java @@ -27,7 +27,7 @@ public class X86_64QuickBackendExecutor extends Executor { @Override public void execute(String programName) { StringBuilder commandBuilder = new StringBuilder(); - commandBuilder.append("dalvikvm64 "); + commandBuilder.append("dalvikvm64 -Xcompiler-option --compiler-backend=Quick "); commandBuilder.append("-cp ").append(testLocation).append("/").append(programName).append(" "); commandBuilder.append(executeClass); executionResult = executeCommandWithTimeout(commandBuilder.toString(), true); |