summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-04-13 09:19:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-13 09:19:04 +0000
commit095d209342420563becfec6676b46a6c6b839107 (patch)
treeb25d5be5b8e7320d05f42da549c11cc82d7dbc51 /dex2oat
parent6fea0097be6aefb0a1faf9eaf24cfbadda0959a5 (diff)
parent3d329d7bbc1e04e9d1a9999f7785469d2ac88fc4 (diff)
downloadart-095d209342420563becfec6676b46a6c6b839107.tar.gz
art-095d209342420563becfec6676b46a6c6b839107.tar.bz2
art-095d209342420563becfec6676b46a6c6b839107.zip
Merge "ART: Adds a help message for parallel compilation"
Diffstat (limited to 'dex2oat')
-rw-r--r--dex2oat/dex2oat.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 10949e452..8c3d3393f 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -109,6 +109,11 @@ NO_RETURN static void Usage(const char* fmt, ...) {
UsageError("Usage: dex2oat [options]...");
UsageError("");
+ UsageError(" -j<number>: specifies the number of threads used for compilation.");
+ UsageError(" Default is the number of detected hardware threads available on the");
+ UsageError(" host system.");
+ UsageError(" Example: -j12");
+ UsageError("");
UsageError(" --dex-file=<dex-file>: specifies a .dex, .jar, or .apk file to compile.");
UsageError(" Example: --dex-file=/system/framework/core.jar");
UsageError("");