[Gc] implement GC_get_stack_base by thr_stksegment in solaris

Boehm, Hans hans.boehm at hp.com
Tue Apr 13 14:30:01 PDT 2010


> From: Ivan Maidanski
> Sent: Saturday, April 10, 2010 6:17 AM
> To: Louis Zhuang
> Cc: gc at napali.hpl.hp.com
> Subject: Re: [Gc] implement GC_get_stack_base by 
> thr_stksegment in solaris
> 
> Fri, 9 Apr 2010 15:33:05 +0000 (UTC) Louis Zhuang 
> <louis.zhuang at acm.org>:
> 
> > Hi, I think solaris specific thr_stksegment is the better API to 
> > implement GC_get_stack_base, which avoids worrying SIGSEV from 
> > find_limit(). Please review following patch.
> 
> The idea looks good. But the implementation is not so easy. 
> Due to the thr_stksegment bug,
I'm not sure I understand this.  Which bug?

I agree with the other comments, and that this patch looks potentially useful.

Hans



More information about the Gc mailing list