From owner-freebsd-java Mon Mar 17 8:56:41 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B01E37B401 for ; Mon, 17 Mar 2003 08:56:40 -0800 (PST) Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id B7E0343FBF for ; Mon, 17 Mar 2003 08:56:38 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr2.xmission.com with spam-scanned (Exim 3.35 #1) id 18uxr8-0000Sh-02 for freebsd-java@freebsd.org; Mon, 17 Mar 2003 09:52:58 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr2.xmission.com with esmtp (Exim 3.35 #1) id 18uxpK-0007Xn-02; Mon, 17 Mar 2003 09:51:07 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h2HGp1V01594; Tue, 18 Mar 2003 03:21:01 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 18 Mar 2003 03:20:59 +1030 From: Greg Lewis To: Antony T Curtis Cc: freebsd-java@FreeBSD.ORG Subject: Re: [CFR] jdk1.3.1 java_wrapper script update patch Message-ID: <20030318032058.B1528@misty.eyesbeyond.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 +0000 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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