From owner-freebsd-java Thu Nov 28 4:29: 5 2002 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 538CC37B401 for ; Thu, 28 Nov 2002 04:29:04 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB6F943EC2 for ; Thu, 28 Nov 2002 04:29:00 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gASFUcip078277; Thu, 28 Nov 2002 15:30:39 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gASCY3d8098452; Thu, 28 Nov 2002 14:34:03 +0200 (EET) (envelope-from ml) Date: Thu, 28 Nov 2002 14:34:03 +0200 From: Alexey Zelkin To: Daniel Eischen Cc: freebsd-java@FreeBSD.ORG Subject: Re: PATCH - changing libc_r to use *context() (fwd) Message-ID: <20021128143403.A98438@phantom.cris.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from eischen@pcnet1.pcnet.com on Mon, Nov 25, 2002 at 11:00:03AM -0500 X-Operating-System: FreeBSD 4.5-STABLE i386 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 Wow! Cool. Did you do performance measurements ? I think such switch will cause performance slowdown. PS: Any plans on MFCing these changes ? On Mon, Nov 25, 2002 at 11:00:03AM -0500, Daniel Eischen wrote: > FYI, this patch should have everything you've been asking for. > > To answer some potential questions, a threads context is > always in thread->ctx as a ucontext_t. A thread's interrupted > context is stored in the same location. > > Signal handlers caused by pthread_kill() now also get a > siginfo and ucontext passed to them (assuming the handler > was installed with SA_SIGINFO). > > ---------- Forwarded message ---------- > Date: Mon, 25 Nov 2002 10:52:04 -0500 > From: Daniel Eischen > To: freebsd-current@freebsd.org > Subject: PATCH - changing libc_r to use *context() > > There's a patch at: > > http://people.freebsd.org/~deischen/libc_r.diffs > > that changes libc_r to use *context() instead of setjmp/longjmp. There > are some other changes that the -java folks have wanted for some time > (signal handlers installed with SA_SIGINFO now always get a siginfo_t > and ucontext_t). > > Normally I would wait until after 5.0-release to do this, but the > ia64 folks (perhaps the sparc64?) really wanted this. > > I'd like some feedback on whether some heavy threaded apps (GNOME, > OpenOffice, Java, etc) have any problems with this patch before > asking re@ for commit permission. BTW, it also needs testing on > alpha. > > Thanks, > > -- > Dan Eischen > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message