Many people using java and scala have warmup issues, mostly due to JVM JIT optimisation.
JVM allows to set a param to decrease the JIT threshold : -XX:CompileThreshold
You can find documentation here : oracle JVM options.
Decreasing the value (default: 1500, let's say: 100) would reduce the number of time a part of code must be called before being compiled by JVM. It should make the code slower to compile but faster to run, hence improving heavy computation and simulation.
Let me know if it sounds feasible, thanks