How are stacks of non-JavaThreads guarded?

Andrew Haley aph at redhat.com
Sat Nov 28 09:57:56 UTC 2015


On 28/11/15 07:55, Thomas Stüfe wrote:
> So, in JavaThread we establish stack guards (red and yellow zones). But I
> do not find anything similar for non JavaThread threads, e.g. VmThread?

There isn't, and I don't think it's possible because there is no
reasonably portable way to recover from a stack overflow in C++.

Andrew.



More information about the hotspot-runtime-dev mailing list