/O — Enable Optimizations Option (JVC)

Syntax

/O

The /O option combines optimizing options to produce a more efficient program. The effect of using this option is the same as using the following options together:

Option Action
/O:I Optimize by inlining methods when appropriate.
/O:J Optimize bytecode jumps. Default optimization setting.

Note   To disable any optimization option, use a dash (–) after the option on the command line.

Example

The following command fully optimizes the code for the myClass.class file that is produced:

JVC /O myClass.java