Use constant stack space for STW under darwin.
commit3a160a160d9675713c2c62e4dc9bd56731a78480
authorRodrigo Kumpera <kumpera@gmail.com>
Tue, 15 Mar 2011 16:31:24 +0000 (15 17:31 +0100)
committerRodrigo Kumpera <kumpera@gmail.com>
Tue, 15 Mar 2011 16:31:24 +0000 (15 17:31 +0100)
tree9a06d6ed3f92c436986868737d9b09a7052cd1ea
parent04bed5c57c82fdb43d700671c957024504b89306
Use constant stack space for STW under darwin.

* sgen-gc.h: Since darwin doesn't use signals to
stop the target threads, we must reserve space for
register in SgenThreadInfo.

* sgen-os-mach.c (mono_sgen_thread_handshake): Don't
alloca inside the loop. Make sure each thread registers
are copied to the right place.
mono/metadata/sgen-gc.h
mono/metadata/sgen-os-mach.c