Linux current_stack_region()

Gary Benson gbenson at
Thu Mar 13 09:05:03 PDT 2008

David Holmes - Sun Microsystems wrote:
> I'd argue that glibc is incorrect then.

You'd not be the only one:

> But that aside what are the implications for hotspot? Does it mean
> we're placing our guard pages on top of glibc's? (Fortunately this
> will only affect natively attached threads that happen to use glibc
> guards).

In Java threads with guard pages (attached threads, basically)
HotSpot's red page will be in the same place as the glibc guard.
In non-Java threads there will be a guard page at the end of the

> Thanks for clarifying my misreading regarding the rounding issue.

Thanks for bringing it up.  Someone else had mentioned something
similar to me and I'd meant to check it but forgotten.



More information about the hotspot-dev mailing list