From owner-freebsd-java@FreeBSD.ORG Fri Feb 11 04:34:02 2005 Return-Path: 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 5D74D16A4CE for ; Fri, 11 Feb 2005 04:34:02 +0000 (GMT) Received: from hotmail.com (bay101-f13.bay101.hotmail.com [64.4.56.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3610343D48 for ; Fri, 11 Feb 2005 04:34:02 +0000 (GMT) (envelope-from graemedocherty@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 10 Feb 2005 20:34:01 -0800 Message-ID: Received: from 221.188.25.92 by by101fd.bay101.hotmail.msn.com with HTTP; Fri, 11 Feb 2005 04:33:16 GMT X-Originating-IP: [221.188.25.92] X-Originating-Email: [graemedocherty@hotmail.com] X-Sender: graemedocherty@hotmail.com In-Reply-To: <200502090850.j198oNb4053035@freefall.freebsd.org> From: "Graeme Docherty" To: phantom@FreeBSD.org.ua, freebsd-java@FreeBSD.org Date: Fri, 11 Feb 2005 04:33:16 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 11 Feb 2005 04:34:01.0531 (UTC) FILETIME=[E8FCC8B0:01C50FF2] Subject: Re: java/77162: Tomcat5 regression with jdk15-p1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Feb 2005 04:34:02 -0000 Alexey, That patch appears to work for me. I can now start Tomcat using jdk1.5.0 and also launch from Netbeans (running jdk1.5.0) without any problem. FYI: I'm running 5.3 RELEASE on a Celeron-D. Thanks Graeme >From: Alexey Zelkin >Reply-To: Alexey Zelkin >To: freebsd-java@FreeBSD.org >Subject: Re: java/77162: Tomcat5 regression with jdk15-p1 >Date: Wed, 9 Feb 2005 08:50:23 GMT > >The following reply was made to PR java/77162; it has been noted by GNATS. > >From: Alexey Zelkin >To: Anthony Ginepro >Cc: FreeBSD-gnats-submit@freebsd.org >Subject: Re: java/77162: Tomcat5 regression with jdk15-p1 >Date: Wed, 9 Feb 2005 10:46:15 +0200 > > On Sun, Feb 06, 2005 at 11:06:48AM +0100, Anthony Ginepro wrote: > > > > >Number: 77162 > > >Category: java > > >Synopsis: Tomcat5 regression with jdk15-p1 > > >Confidential: no > > > Tomcat 5.x becomes much slower with jdk15-p1 than jdk15-exp > > as reported in : > > http://marc.theaimsgroup.com/?l=freebsd-java&m=110633266311615&w=2 > > > > After some experiments, I get back normal operations when reverting > > hotspot/src/os/bsd/vm/os_bsd.cpp (which is what the patch joined >does). > > Can you try following patch (on stock jdk1.5.0-p1), and notice me if it's > fixes your problem? Thanks! > > Index: os_bsd.cpp > =================================================================== > RCS file: /home/cvs/javacvs/jdk150/hotspot/src/os/bsd/vm/os_bsd.cpp,v > retrieving revision 1.16 > diff -u -r1.16 os_bsd.cpp > --- os_bsd.cpp 16 Jan 2005 10:16:25 -0000 1.16 > +++ os_bsd.cpp 9 Feb 2005 08:40:04 -0000 > @@ -1898,7 +1898,7 @@ > } while ((res == OS_ERR) && (errno == EINTR)); > } else { > assert(Thread::current()->is_Java_thread(), "must be java thread"); > - INTERRUPTIBLE_NORESTART(nanosleep(&t, &t), res, >os::Bsd::clear_interrupted); > + INTERRUPTIBLE_NORESTART_VM(nanosleep(&t, &t), res, >os::Bsd::clear_interrupted); > } > // INTERRUPTIBLE_NORESTART_VM returns res == OS_INTRPT for >thread.Interrupt > >_______________________________________________ >freebsd-java@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-java >To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"