Re[3]: [Gc] Small fix for Win32 GC_push_stack_for

Ivan Maidanski ivmai at mail.ru
Fri Dec 5 00:22:17 PST 2008


Hi!

"Boehm, Hans" <hans.boehm at hp.com> wrote:
> Finally getting back to this issue ...
> 
> I applied this to my tree, and will check it in.  Thanks.
> 
> Hans
> 
> > -----Original Message-----
> > From: gc-bounces at napali.hpl.hp.com
> > [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Ivan Maidanski
> > Sent: Friday, October 24, 2008 4:36 AM
> > To: gc at napali.hpl.hp.com
> > Subject: [Gc] Small fix for Win32 GC_push_stack_for
> >
> > Hi!
> >
> > This patch removes "Thread stack pointer out of range"
> > warning for the stopped thread with sp just got decremented
> > but not dereferenced yet (i.e. sp points to the guard page of
> > the thread's stack, and, thus, computed stack_min is greater than sp).

Informatory post: GC_THREADS is incompatible with USE_MMAP for Cygwin for now (it always prints "Thread stack pointer out of range" and stack bottom == top for main thread (VirtualQuery doesn't recognize stack bottom as a part of stack area)).

Bye.



More information about the Gc mailing list