< prev index next >

src/jdk.aot/share/man/jaotc.1

Print this page




   4 .\" This code is free software; you can redistribute it and/or modify it
   5 .\" under the terms of the GNU General Public License version 2 only, as
   6 .\" published by the Free Software Foundation.
   7 .\"
   8 .\" This code is distributed in the hope that it will be useful, but WITHOUT
   9 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10 .\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  11 .\" version 2 for more details (a copy is included in the LICENSE file that
  12 .\" accompanied this code).
  13 .\"
  14 .\" You should have received a copy of the GNU General Public License version
  15 .\" 2 along with this work; if not, write to the Free Software Foundation,
  16 .\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  17 .\"
  18 .\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  19 .\" or visit www.oracle.com if you need additional information or have any
  20 .\" questions.
  21 .\"
  22 .\" Automatically generated by Pandoc 2.3.1
  23 .\"
  24 .TH "JAOTC" "1" "2019" "JDK 13" "JDK Commands"
  25 .hy
  26 .SH NAME
  27 .PP
  28 jaotc \- The Java static compiler that produces native code for compiled
  29 Java methods
  30 .SH SYNOPSIS
  31 .PP
  32 \f[CB]jaotc\f[R] [\f[I]options\f[R]] [\f[I]name\f[R] | \f[I]list\f[R]]
  33 .TP
  34 .B \f[I]options\f[R]
  35 Command\-line options separated by spaces.
  36 See \f[B]jaotc Options\f[R].
  37 .RS
  38 .RE
  39 .TP
  40 .B \f[I]name\f[R]
  41 The Java class or jar file from which Java methods will be compiled.
  42 .RS
  43 .RE
  44 .TP


 187 .B \f[CB]\-J\f[R]\f[I]flag\f[R]
 188 Provides a flag to pass to the runtime system.
 189 To pass more than one flag, provide an instance of this option for each
 190 flag or flag argument needed.
 191 .RS
 192 .RE
 193 .SH JAOTC EXAMPLES
 194 .PP
 195 Use the \f[CB]jaotc\f[R] tool to execute AOT compilation.
 196 .IP
 197 .nf
 198 \f[CB]
 199 jaotc\ \-\-output\ libHelloWorld.so\ HelloWorld.class
 200 \f[R]
 201 .fi
 202 .PP
 203 Specify a generated AOT library during application execution:
 204 .IP
 205 .nf
 206 \f[CB]
 207 java\ \-XX:AOTLibrary=./libHelloWorld.so\ HelloWorld
 208 \f[R]
 209 .fi


   4 .\" This code is free software; you can redistribute it and/or modify it
   5 .\" under the terms of the GNU General Public License version 2 only, as
   6 .\" published by the Free Software Foundation.
   7 .\"
   8 .\" This code is distributed in the hope that it will be useful, but WITHOUT
   9 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  10 .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  11 .\" version 2 for more details (a copy is included in the LICENSE file that
  12 .\" accompanied this code).
  13 .\"
  14 .\" You should have received a copy of the GNU General Public License version
  15 .\" 2 along with this work; if not, write to the Free Software Foundation,
  16 .\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  17 .\"
  18 .\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  19 .\" or visit www.oracle.com if you need additional information or have any
  20 .\" questions.
  21 .\"
  22 .\" Automatically generated by Pandoc 2.3.1
  23 .\"
  24 .TH "JAOTC" "1" "2020" "JDK 14" "JDK Commands"
  25 .hy
  26 .SH NAME
  27 .PP
  28 jaotc \- The Java static compiler that produces native code for compiled
  29 Java methods
  30 .SH SYNOPSIS
  31 .PP
  32 \f[CB]jaotc\f[R] [\f[I]options\f[R]] [\f[I]name\f[R] | \f[I]list\f[R]]
  33 .TP
  34 .B \f[I]options\f[R]
  35 Command\-line options separated by spaces.
  36 See \f[B]jaotc Options\f[R].
  37 .RS
  38 .RE
  39 .TP
  40 .B \f[I]name\f[R]
  41 The Java class or jar file from which Java methods will be compiled.
  42 .RS
  43 .RE
  44 .TP


 187 .B \f[CB]\-J\f[R]\f[I]flag\f[R]
 188 Provides a flag to pass to the runtime system.
 189 To pass more than one flag, provide an instance of this option for each
 190 flag or flag argument needed.
 191 .RS
 192 .RE
 193 .SH JAOTC EXAMPLES
 194 .PP
 195 Use the \f[CB]jaotc\f[R] tool to execute AOT compilation.
 196 .IP
 197 .nf
 198 \f[CB]
 199 jaotc\ \-\-output\ libHelloWorld.so\ HelloWorld.class
 200 \f[R]
 201 .fi
 202 .PP
 203 Specify a generated AOT library during application execution:
 204 .IP
 205 .nf
 206 \f[CB]
 207 java\ \-XX:+UnlockExperimentalVMOptions\ \-XX:AOTLibrary=./libHelloWorld.so\ HelloWorld
 208 \f[R]
 209 .fi
< prev index next >