From owner-freebsd-java Fri Oct 4 7:39:26 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 901BF37B401 for ; Fri, 4 Oct 2002 07:39:25 -0700 (PDT) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A72343E42 for ; Fri, 4 Oct 2002 07:39:25 -0700 (PDT) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 17xTbl-0002r3-00; Fri, 04 Oct 2002 07:39:13 -0700 Date: Fri, 4 Oct 2002 07:39:13 -0700 To: Stefan Arentz Cc: freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: Hacking on JDK 1.3.1 Message-ID: <20021004143913.GA10940@gnuppy.monkey.org> References: <20020929195045.GA51533@keyser.soze.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020929195045.GA51533@keyser.soze.com> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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, Sep 29, 2002 at 09:50:45PM +0200, Stefan Arentz wrote: > Hi, > > Short introduction; I'm working on making the native JDK 1.3.1 a bit more > stable on -STABLE (4.4 and 4.6.2-SMP in my case) and also trying to backport > Bill Huey's excellent work on Hotspot. Yes, babes, I'm smoking hot with my HotSpot. None of that HotSpooning for those crack users. > % ab -n 2500 -c 25 http://localhost:8080/examples/jsp/dates/date.jsp > > > FreeBSD Native with compiler1: > > Requests per second: 205.64 [#/sec] (mean) > Time per request: 121.569 [ms] (mean) > Time per request: 4.863 [ms] (mean, across all concurrent requests) > Transfer rate: 259.61 [Kbytes/sec] received Ok, try something dangerous. open os_linux.cpp and uncomment that: INTERRUPTIBLE_RETURN_INT(os_sleep(millis), os::Solaris::clear_interrupted); and comment out: os_sleep(millis); Things work fast now because of it. You folks might want to try some tests to verify that. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message