[Gc] Stopping the world on Darwin
abegel at eecs.berkeley.edu
Tue Jun 29 17:57:18 PDT 2004
It looked ok to me.
On Jun 29, 2004, at 5:53 PM, Boehm, Hans wrote:
> I unfortunately can't test this. Since nobody objected, I went
> ahead and applied it.
>> -----Original Message-----
>> From: gc-bounces at napali.hpl.hp.com
>> [mailto:gc-bounces at napali.hpl.hp.com]On Behalf Of Dick Porter
>> Sent: Friday, June 18, 2004 2:10 AM
>> To: gc at napali.hpl.hp.com
>> Subject: [Gc] Stopping the world on Darwin
>> We've been seeing deadlocks when running mono on darwin. It turns out
>> that the world wasn't stopping - the test for the thread run state was
>> never being satisfied.
>> On our test machine (Darwin macmono.boston.ximian.com 7.4.0 Darwin
>> Kernel Version 7.4.0: Wed May 12 16:58:24 PDT 2004;
>> root:xnu/xnu-517.7.7.obj~7/RELEASE_PPC Power Macintosh powerpc) the
>> thread_info() state is always TH_STATE_WAITING, never
>> Even when thread_suspend() has been called, the state doesn't seem to
>> change. However, the suspend_count does seem to work.
>> A patch against 6.3alpha6 is attached, along with the simple test
>> program I used (which is slightly more complex than it might
>> be, because
>> at first I was thinking it was a pthread_cond_timedwait()
>> - Dick
> Gc mailing list
> Gc at linux.hpl.hp.com
More information about the Gc