On 06/20/2017 11:52 PM, Jeff Law wrote: > I've also wondered if a 2 page guard would solve some of these problems. > In the event of stack overflow, the kernel maps in one of the two pages > for use by the signal handler. But changing things at this point may > not be worth the effort.
I think Hotspot does that as well. At the low level, Java programs can recover from stack overflow (but it's still a VM error which taints the entire process because these errors can strike at too many places, and critical invariants could be violated). Thanks, Florian