/O:J — Optimize Bytecode Jumps Option (JVC)

Syntax

/O:J

The /O:J option causes JVC to optimize the bytecode jumps in the compiled .class file. This option tells the compiler to generate code that jumps to another place in the code. This option is the compiler’s default optimization setting.

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

Example

The following example evaluates the source code in the myClass.java file and optimizes the bytecode jumps to produce more efficient code. The resulting myClass.class file contains the optimized code:

JVC /O:J myClass.java