But It Works On My Machine…

But It Works On My Machine… As summary: difference between ”server” and ”client” JVM *can* cause big surprises in badly coded thread stop conditions. Additionally other random synchronized blocks can cause unpredictability in behaviour. I tested sample program, and there really was this big difference between ”-client” and ”-server”. Changing ”stopRequested” to be volatile caused…

Read more