Specifies the optimization level of the iSeries Java program. For
OPTIMIZE(*INTERPRET), the resulting Java program interprets the class file
byte codes when invoked. For other optimization levels, the Java
program contains machine instruction sequences that are run when the Java
program is invoked. OPTIMIZE(*INTERPRET) Java programs are smaller but
run slower than Java programs created with higher optimization levels.
As you increase the optimization level beyond 10, the Java program performance
generally improves, but the time required to create the Java program increases
and debugging is more difficult.
The possible values are:
- 10
- The Java program contains a compiled version of the class file byte codes
but has only minimal additional compiler optimization. Variables can be
displayed and modified while debugging.
- *INTERPRET
- The Java program created is not optimized. When invoked, the Java
program interprets the class file byte codes. Variables can be
displayed and modified while debugging.
- 20
- The Java program contains a compiled version of the class file byte codes
and has some additional compiler optimization. Variables can be
displayed but not modified while debugging.
- 30
- The Java program contains a compiled version of the class file byte codes
and has more compiler optimization than optimization level 20. During a
debug session, user variables cannot be changed, but can be displayed.
The presented values may not be the current values of the variables.
- 40
- The Java program contains a compiled version of the class file byte codes
and has more compiler optimization than optimization level 30. All call
and instruction tracing is disabled.
- *CMDDFT
- The system default is used.
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.