src/jdk.aot/share/man/jaotc.1
author herrick
Mon, 14 Oct 2019 14:36:45 -0400
branchJDK-8200758-branch
changeset 58584 910b14f4fe3a
parent 57571 0a4829e4ad6b
permissions -rw-r--r--
8232042: [macos] Installation fails if application name contains spaces Submitted-by: almatvee Reviewed-by: aherrick, asemenyuk
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
57571
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
     1
.\" Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
     2
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
     3
.\"
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
     4
.\" This code is free software; you can redistribute it and/or modify it
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
     5
.\" under the terms of the GNU General Public License version 2 only, as
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
     6
.\" published by the Free Software Foundation.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
     7
.\"
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
     8
.\" This code is distributed in the hope that it will be useful, but WITHOUT
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
     9
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    10
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    11
.\" version 2 for more details (a copy is included in the LICENSE file that
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    12
.\" accompanied this code).
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    13
.\"
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    14
.\" You should have received a copy of the GNU General Public License version
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    15
.\" 2 along with this work; if not, write to the Free Software Foundation,
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    16
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    17
.\"
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    18
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    19
.\" or visit www.oracle.com if you need additional information or have any
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    20
.\" questions.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    21
.\"
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    22
.\" Automatically generated by Pandoc 2.3.1
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    23
.\"
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    24
.TH "JAOTC" "1" "2019" "JDK 13" "JDK Commands"
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    25
.hy
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    26
.SH NAME
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    27
.PP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    28
jaotc \- The Java static compiler that produces native code for compiled
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    29
Java methods
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    30
.SH SYNOPSIS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    31
.PP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    32
\f[CB]jaotc\f[R] [\f[I]options\f[R]] [\f[I]name\f[R] | \f[I]list\f[R]]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    33
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    34
.B \f[I]options\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    35
Command\-line options separated by spaces.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    36
See \f[B]jaotc Options\f[R].
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    37
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    38
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    39
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    40
.B \f[I]name\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    41
The Java class or jar file from which Java methods will be compiled.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    42
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    43
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    44
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    45
.B \f[I]list\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    46
Colon (\f[CB]:\f[R]) separated list of class names, modules, jar files or
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    47
directories which contain class files.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    48
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    49
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    50
.SH DESCRIPTION
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    51
.PP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    52
The \f[CB]jaotc\f[R] command is a Java Ahead\-Of\-Time (AOT) static
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    53
compiler which produces native code in the form of a shared library for
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    54
the Java methods in specified Java class files.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    55
The Java Virtual Machine can load these AOT libraries and use native
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    56
code from them when corresponding Java methods are called.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    57
By using \f[CB]jaotc\f[R], there is no need to wait for the JIT compiler
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    58
to generate (by compiling bytecode) the fast native code for these Java
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    59
methods.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    60
The code is already generated by \f[CB]jaotc\f[R] and ready to be
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    61
immediately used.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    62
For the same reason, there is no need to execute these methods in the
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    63
Interpreter because fast compiled native code can be executed instead.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    64
.PP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    65
\f[B]Note:\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    66
.PP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    67
The \f[CB]jaotc\f[R] command is experimental.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    68
See \f[B]JEP 295: Ahead\-of\-Time Compilation\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    69
[https://openjdk.java.net/jeps/295] for complete details.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    70
.SH JAOTC OPTIONS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    71
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    72
.B \f[CB]\-\-output\f[R] \f[I]file\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    73
Output file name.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    74
Default name is "unnamed.so".
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    75
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    76
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    77
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    78
.B \f[CB]\-\-class\-name\f[R] \f[I]class\-names\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    79
List of Java classes to compile.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    80
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    81
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    82
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    83
.B \f[CB]\-\-jar\f[R] \f[I]jar\-files\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    84
List of JAR files to compile.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    85
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    86
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    87
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    88
.B \f[CB]\-\-module\f[R] \f[I]modules\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    89
List of Java modules to compile.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    90
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    91
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    92
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    93
.B \f[CB]\-\-directory\f[R] \f[I]dirs\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    94
List of directories to search for files to compile.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    95
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    96
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    97
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    98
.B \f[CB]\-\-search\-path\f[R] \f[I]dirs\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
    99
List of directories to search for specified files.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   100
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   101
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   102
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   103
.B \f[CB]\-\-compile\-commands\f[R] \f[I]file\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   104
Name of the file containing the compile commands:
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   105
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   106
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   107
.B \f[CB]exclude\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   108
Excludes compilation of specified methods.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   109
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   110
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   111
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   112
.B \f[CB]compileOnly\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   113
Compiles only specified methods.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   114
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   115
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   116
.PP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   117
Regular expressions are used to specify classes and methods.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   118
For example:
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   119
.IP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   120
.nf
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   121
\f[CB]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   122
exclude\ sun.util.resources..*.TimeZoneNames_.*.getContents\\(\\)\\[\\[Ljava/lang/Object;\ 
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   123
exclude\ sun.security.ssl.*\ 
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   124
compileOnly\ java.lang.String.*
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   125
\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   126
.fi
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   127
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   128
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   129
.B \f[CB]\-\-compile\-for\-tiered\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   130
Generates profiling code for tiered compilation.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   131
By default, profiling code is not generated (could be changed in a
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   132
future).
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   133
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   134
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   135
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   136
.B \f[CB]\-\-compile\-with\-assertions\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   137
Generates code with java assertions.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   138
By default, assertions code is not generated.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   139
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   140
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   141
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   142
.B \f[CB]\-\-compile\-threads\f[R] \f[I]number\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   143
Sets the number of compilation threads used.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   144
The default value is \f[CB]min(16,\ available_cpus)\f[R].
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   145
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   146
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   147
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   148
.B \f[CB]\-\-ignore\-errors\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   149
Ignores all exceptions thrown during class loading.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   150
By default, the tool will exit compilation if class loading throws an
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   151
exception.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   152
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   153
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   154
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   155
.B \f[CB]\-\-exit\-on\-error\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   156
Exits on compilation errors.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   157
By default, failed compilation is skipped and compilation of other
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   158
methods continues.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   159
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   160
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   161
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   162
.B \f[CB]\-\-info\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   163
Prints information about compilation phases.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   164
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   165
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   166
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   167
.B \f[CB]\-\-verbose\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   168
Prints more details about compilation phases.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   169
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   170
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   171
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   172
.B \f[CB]\-\-debug\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   173
Prints comprehensive details.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   174
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   175
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   176
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   177
.B \f[CB]\-\-help\f[R] or \f[CB]\-h\f[R] or \f[CB]\-?\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   178
Prints a summary of standard options and exits the tool.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   179
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   180
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   181
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   182
.B \f[CB]\-\-version\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   183
Prints version information.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   184
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   185
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   186
.TP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   187
.B \f[CB]\-J\f[R]\f[I]flag\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   188
Provides a flag to pass to the runtime system.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   189
To pass more than one flag, provide an instance of this option for each
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   190
flag or flag argument needed.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   191
.RS
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   192
.RE
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   193
.SH JAOTC EXAMPLES
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   194
.PP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   195
Use the \f[CB]jaotc\f[R] tool to execute AOT compilation.
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   196
.IP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   197
.nf
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   198
\f[CB]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   199
jaotc\ \-\-output\ libHelloWorld.so\ HelloWorld.class
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   200
\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   201
.fi
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   202
.PP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   203
Specify a generated AOT library during application execution:
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   204
.IP
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   205
.nf
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   206
\f[CB]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   207
java\ \-XX:AOTLibrary=./libHelloWorld.so\ HelloWorld
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   208
\f[R]
0a4829e4ad6b 8228494: Update nroff version of man pages
jjg
parents:
diff changeset
   209
.fi