performance improvements

- increase # iters in java bench to force JIT
- avoid division in loops
- remove unecessary volatile declaration