Cynthia Jeness wrote:
> You can generate the profiling information by specifying "-classic".,
> but you probably already know this. I am also somewhat puzzled by
> closing the bug and the associated explanation. My take was that
> "raw-monitor" was not suppored in Linux and that this is required to
> generate profiling with HotSpot. I was hoping that one of the JVM
> experts might respond to your question.
>
> Nathan Meyers wrote an article on profiling an provides a tool for
> assisting in the analysis. He also covers this in his book. I found
> both very helpful and been able to use his tool to help me analyze my
> results. Unfortunately, I did not keep the URL but it should be in
> the archives.
The article's here:
http://developer.java.sun.com/developer/technicalArticles/GUI/perfanal/
Linux is one of the few environments in which profiling is even possible
with JDK1.3, and even then only with the -classic (green threads) JVM.
The tool discussed in the article processes the hprof cpu=samples
results into something much more useful than the raw data, and presents
it through a Swing-based interface. Article and code available without
buying the book :-).
Nathan
>
>
> Cynthia Jeness
>
> Barnet Wagman wrote:
>
>> Orson Alvarez wrote:
>>
>> > Hi Barnet,
>> >
>> > Have you received any responses to this query? I received the same
>> > error
>> > with:
>> >
>> > java version "1.3.0rc1"
>> > Java(TM) 2 Runtime Environment, Standard Edition (build
>> > 1.3.0rc1-b17)
>> > Java HotSpot(TM) Client VM (build 1.3.0rc1-b17, mixed mode)
>> >
>> > I looked up the problem on the JDC bug parade and they say it's
>> > fixed
>> > due to the fix for bug 4379126. However, that bug has been taken
>> > off the
>> > bug parade listing "due to security reasons". Additionally, the
>> > entry
>> > for this bug states that the bug is "closed,fixed" in a "non-public
>> >
>> > release". I looked for pre-release versions on JDC and found
>> > nothing.
>> > Some of the workarounds were to use blackdown and now I see your
>> > posting. Very discouraging to say the least.
>> >
>>
>> Fraid not. And I haven't found any documentation on using the
>> profiler, other than what we get from '$java3 -Xrunhprof:help'
>>
>> >
>> > On top of all this I downloaded the "fcs" version and RH's rpm
>> > won't
>> > install it because it thinks the "rc1" version is newer.
>> > Frustrating...
>> >
>> > At any rate let me know if you hear anything.
>> >
>> > Thanks,
>> > O
>>
>> I've given up using rpms for Java precisely for this reason. With
>> tarball installations, its easy to have multiple versions on one
>> system (I have at least four at present).
>>
>> Good luck.
>
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]