Re: Unexpected low CPU usage

Johan Stuyts <[email protected]> Mon, 21 Jan 2008 08:53:48 +0100
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
> It really seems like synchronization to me, here are two good ways to
> rule it out:
> * monitor profiling with yourkit
> * JRockit has Runtime Analyzer or Mission Control which gives you a
> boatload of detailed lock profiling info
> There are free evals of both.

Oops. I replied to this post, but it was to Ron's personal address so we
had a private conversation. I though other people might be interested so
here's a summary:
Ron told me what to look at in YourKit, so I profiled the application and
sent him the results. Not much showed up. The lock of the reference queue
was waited by the finalizer thread and my SSL RMI client socket factory,
so Ron wanted to know if I had overridden 'finalize()'. None of my classes
did. Ron also wanted information about the number of processes used to run
the clients, the output of 'netstat -an' and the options I passed to the
JVMs, so I sent him this information.

That is the status so far. Hopefully the discussion will continue on this
list again. I will keep my eye on the reply address to prevent it from
happening again. I am sorry for the inconvenience.

Johan Stuyts

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com