Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2004 14:50:31 +0000 (GMT)
From:      Jan Grant <Jan.Grant@bristol.ac.uk>
To:        "Kelly, Michael J." <mkelly@telcordia.com>
Cc:        "'freebsd-java@freebsd.org'" <freebsd-java@freebsd.org>
Subject:   Re: java 1.4 (p4) -Xrunhprof:cpu=times errors?
Message-ID:  <Pine.GSO.4.58.0401121443390.22470@mail.ilrt.bris.ac.uk>
In-Reply-To: <A30FA529B65DB246AD54A6E5E2A48D31028E4E60@rrc-its-exs01.mail.saic.com>
References:  <A30FA529B65DB246AD54A6E5E2A48D31028E4E60@rrc-its-exs01.mail.saic.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.58.0401121443390.22470>