Yes, I tried it, and it works :).
But I don't think it suits me since it traces everything and makes
everything much slower. And since the application I want to profile runs
on JBoss and normally takes >30 min to startup and I only want to
profile certain routines, which normally take <1s I don't think that is
workable.
So I am still searching for something like JProfiler, JProbe, YJP that
works with AMD64.
> Yes, I tried it, and it works :).
> But I don't think it suits me since it traces everything and makes
> everything much slower. And since the application I want to profile runs
> on JBoss and normally takes >30 min to startup and I only want to
> profile certain routines, which normally take <1s I don't think that is
> workable.
The trick is to use "cpu=samples" and not "cpu=times". With that switch
the slowdown isn't as big.
> So I am still searching for something like JProfiler, JProbe, YJP that
> works with AMD64.
Good luck! I guess, you'll have to wait a bit until tool vendors get
their 64 bit versions out of the door. Alternatively: did you try remote
debugging? That way even a 32 bit profiler might work.
Kind regards
robert
> >>Hi
> >>
[quoted text clipped - 8 lines]
> >
> > robert
Andreas Tschritter - 02 May 2005 14:18 GMT
>>Yes, I tried it, and it works :).
>>But I don't think it suits me since it traces everything and makes
[quoted text clipped - 5 lines]
> The trick is to use "cpu=samples" and not "cpu=times". With that switch
> the slowdown isn't as big.
I'll give that a try.
>>So I am still searching for something like JProfiler, JProbe, YJP that
>>works with AMD64.
>
> Good luck! I guess, you'll have to wait a bit until tool vendors get
> their 64 bit versions out of the door. Alternatively: did you try remote
> debugging? That way even a 32 bit profiler might work.
I tried that, but the problem is that the 64Bit VM doesn't recoginze the
32Bit versions of the profiler libraries. If I use -d32 they work fine.
So I guess I am stuck with waiting for 64 Bit versions.
> Kind regards
>
[quoted text clipped - 15 lines]
>>>
>>> robert
Robert Klemme - 02 May 2005 15:25 GMT
> >>Yes, I tried it, and it works :).
> >>But I don't think it suits me since it traces everything and makes
[quoted text clipped - 7 lines]
> >
> I'll give that a try.
You can evaluate the output quite nicely with free tools. There's
PerfAnal (to be found somewhere on the Sun Java site) and HP's JMeter (not
to be confused with the web app benchmarking tool).
> >>So I am still searching for something like JProfiler, JProbe, YJP that
> >>works with AMD64.
[quoted text clipped - 6 lines]
> 32Bit versions of the profiler libraries. If I use -d32 they work fine.
> So I guess I am stuck with waiting for 64 Bit versions.
Are you saying that the 64 bit VM ships with 32 bit profiling libs? Or do
you mean that the communication between 32 bit profiling client and 64 bit
VM doesn't work? Heck, that wouldn't be nice. I would have assumed that
Sun designed the network protocol in a way that it's independent of host
architecture...
robert
> > Kind regards
> >
[quoted text clipped - 15 lines]
> >>>
> >>> robert
Andreas Tschritter - 03 May 2005 11:15 GMT
> You can evaluate the output quite nicely with free tools. There's
> PerfAnal (to be found somewhere on the Sun Java site) and HP's JMeter (not
> to be confused with the web app benchmarking tool).
Thanks for the tip.
>>>>So I am still searching for something like JProfiler, JProbe, YJP that
>>>>works with AMD64.
[quoted text clipped - 15 lines]
> Sun designed the network protocol in a way that it's independent of host
> architecture...
No, the Xrunhprof works fine, I mean the 3rdparty profiling libraries
from Jprofiler & co, they are not recognized. And since these tools only
work with their own library...
> robert
Robert Klemme - 03 May 2005 11:26 GMT
>> You can evaluate the output quite nicely with free tools. There's
>> PerfAnal (to be found somewhere on the Sun Java site) and HP's
[quoted text clipped - 26 lines]
> from Jprofiler & co, they are not recognized. And since these tools
> only work with their own library...
Well, yes, unfortunately so. Although they could use the profiling API
that Sun introduced... Maybe it takes some time to do the migration (or
the Sun API doesn't yield all data that they need).
Kind regards
robert
Wow. Can I ask what you've written that takes over 30 minutes to start
up? I'm not what you'd call an experienced programmer, so I'm not
trying to make an attempt to discredit your programming skills, I'm just
very, Very curious to know what would take an application (even a 4Gb
application) 30+ minutes to start.
jeremiah();
> Yes, I tried it, and it works :).
> But I don't think it suits me since it traces everything and makes
[quoted text clipped - 5 lines]
> So I am still searching for something like JProfiler, JProbe, YJP that
> works with AMD64.