Linux current_stack_region()

David Holmes - Sun Microsystems David.Holmes at Sun.COM
Thu Mar 13 16:57:15 PDT 2008


Gary,

Thanks for the bugzilla pointer - I've added my opinion there.

I will file a bug against hotspot so that we can track this.

David

Gary Benson said the following on 14/03/08 02:05 AM:
> David Holmes - Sun Microsystems wrote:
>> I'd argue that glibc is incorrect then.
> 
> You'd not be the only one:
> https://bugzilla.redhat.com/show_bug.cgi?id=435337
> 
>> 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
> stack.
> 
>> 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.
> 
> Cheers,
> Gary
> 



More information about the hotspot-dev mailing list