Standard command-line options
The Eclipse OpenJ9™ virtual machine supports the standard Java™ options that are common to all Java virtual machine implementations, including Oracle's HotSpot VM. Some of the common options supported are summarised in the following table:
|Standard option name||Purpose|
||Sets the search path for application classes and resources (directories and compressed or .jar files).
||Prints a usage message.|
||Prints the build and version information for a VM|
||Prints product version and continues.|
||Enables verbose output. Options include
||Prints the full build and version information a VM|
-verbose:class: Writes an entry to
stderrfor each class that is loaded.
-verbose:dynload: Writes detailed class information to
stderras each bootstrap class is loaded by the VM:
-verbose:gc: Provides verbose garbage collection information.
-verbose:init: Writes information to
stderrdescribing VM initialization and termination.
-verbose:jni: Writes information to
stderrdescribing the JNI services called by the application and VM.
-verbose:sizes: Writes information to
stderrdescribing the active memory usage settings.
-verbose:stack: Writes information to
stderrdescribing the Java and C stack usage for each thread.
-verbose:module: Writes information to
stderrfor each module that is loaded and unloaded.
For more information about standard options, see Oracle Java SE Standard Options
OpenJ9 supports the following extension to the
-verbose:stacktrace: Writes either the module name or the
Classloadername (with the code source location when available) to the end of each line of a Java stack trace.