From owner-freebsd-java@FreeBSD.ORG Mon Jan 12 06:52:21 2004 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 1C26716A4CE for ; Mon, 12 Jan 2004 06:52:21 -0800 (PST) Received: from dire.bris.ac.uk (dire.bris.ac.uk [137.222.10.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B9943D54 for ; Mon, 12 Jan 2004 06:52:19 -0800 (PST) (envelope-from Jan.Grant@bristol.ac.uk) Received: from mail.ilrt.bris.ac.uk by dire.bris.ac.uk with SMTP-PRIV with ESMTP; Mon, 12 Jan 2004 14:52:04 +0000 Received: from cmjg (helo=localhost) by mail.ilrt.bris.ac.uk with local-esmtp (Exim 3.16 #1) id 1Ag3Oh-0005Kw-00; Mon, 12 Jan 2004 14:50:31 +0000 Date: Mon, 12 Jan 2004 14:50:31 +0000 (GMT) From: Jan Grant X-X-Sender: cmjg@mail.ilrt.bris.ac.uk To: "Kelly, Michael J." In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: Jan Grant cc: "'freebsd-java@freebsd.org'" Subject: Re: java 1.4 (p4) -Xrunhprof:cpu=times errors? 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: Mon, 12 Jan 2004 14:52:21 -0000 On Sat, 10 Jan 2004, Kelly, Michael J. wrote: > I am getting this also. It works with cpu=sample. I'm trying on Solaris with > WebLogic. OptimizeIt crashes too. Did you ever find patch or workaround? I did not; in fact, profiling under -stable seems to produce really odd results - due to the userland multiplexing of threads, I'd guess (cpu-bound unit tests seem to produce reasonably reliable numbers). Since debugging (and relatedly, profiling) is still on the to-do list for native code under KSE*, and since java depends upon this support*, I'd guess much of this is waiting on the KSE work (which according to the todo is due RSN). I've no idea if profiling support is required or tested by the JCK. 'Course, this means that java development work using freebsd as a development platform needs to adopt a slightly different approach: I've taken to writing correct, efficient code first time :-) I may lapse into old habits if the status changes. jan * As I understand it; if I'm grossly misrepresenting I hope that someone will jump in. -- jan grant, ILRT, University of Bristol. http://www.ilrt.bris.ac.uk/ Tel +44(0)117 9287088 Fax +44 (0)117 9287112 http://ioctl.org/jan/ "I think therefore I am." -- Ronnie Descartes