Switch Optimization

Property settings

This optimization is turned ON by default.
In the property file,
OPT.SWITCH=ON turns on this optimization
OPT.SWITCH=OFF turns off this optimization

mBooster performs a series of optimizations on switch statements to minimize the compressed JAR size. Please note that these optimizations could slightly increase the uncompressed classfile size and heap memory usage.

Be Careful

Switch Optimization could slightly increase the heap usage of the application. If your application is very tight in heap memory, please consider turning off this optimization.

Previous pageContentsNext page