Date: Tue, 18 Mar 2003 03:20:59 +1030 From: Greg Lewis <glewis@eyesbeyond.com> To: Antony T Curtis <antony.t.curtis@ntlworld.com> Cc: freebsd-java@FreeBSD.ORG Subject: Re: [CFR] jdk1.3.1 java_wrapper script update patch Message-ID: <20030318032058.B1528@misty.eyesbeyond.com> In-Reply-To: <200303160336.59352.antony.t.curtis@ntlworld.com>; from antony.t.curtis@ntlworld.com on Sun, Mar 16, 2003 at 03:36:57AM %2B0000 References: <20030315.003054.74755042.haro@h4.dion.ne.jp> <20030316032338.A94004@misty.eyesbeyond.com> <200303152311.06060.antony.t.curtis@ntlworld.com> <200303160336.59352.antony.t.curtis@ntlworld.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 16, 2003 at 03:36:57AM +0000, Antony T Curtis wrote: > Okay - I can confirm that there is a problem in the native threading code. > SIGUSR1 is being thrown frequently without being caught properly and some > other cruft with uninitialized structures. Yes, this is a known problem with native threads. IIRC this is inherited from the Linux version where SIGUSR1 is thrown to do user initiated thread preemption. The BSD code never was modified to handle the SIGUSR1. > I have some code here which works much smoother - dispite removing all other > references to pthread_t internal references, I ended up introducing another > which I'm blaming on the fact that the UTS/libc_r allows signals to be > delivered while still in critical sections of it instead of unwinding to > where signals can be delivered safely. > > It's working well but not perfect... Both client and server hotspot are now > performing reasonably well without hiccups... native+tya gives near on-par > performance on the Java2D demo. Sounds good :). -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030318032058.B1528>