Value types - compatibility with existing “value objects”
simon at ochsenreither.de
Fri Jan 9 14:01:59 UTC 2015
> Worth mentioning that SOE is infinitely more recoverable than heap OOME.
> In the latter case (especially with complex systems, where the risk is
> ironically even higher of it happening) there's often not much you can
> do other than kill off the JVM and try again. But if you run out of
> stack, everything should unwind in a very predictable (and fast) manner.
> You could even automatically rebuild your thread pools with larger
> stack sizes fairly easily.
Your VM might be broken after both. SOE is definitely not recoverable.
Yes, it might work, but no guarantees it does.
Money quote: "You will find occurrences of StackOverflowError leaving
locks locked, monitors acquired, and "finally" block not invoked, even
if JVM doesn't crash."
Maybe things have changed since then?
More information about the valhalla-dev