$ java OmitStackTraceDemo
the ArithmeticException at iteration 1127 had an EMPTY stack trace

$ java -XX:-OmitStackTraceInFastThrow OmitStackTraceDemo
every ArithmeticException still carried a stack trace in 300000 throws
