Re: Howto: Profiling GCJ code?

Bryce McKinlay <[email protected]>
Newsgroups gmane.comp.gcc.java.devel
Message-ID <[email protected]>
On Mon, Jun 22, 2009 at 8:25 PM, Patrick Schäfer<[email protected]> wrote:
> thank you for the help!
>
> oprofiler is quite troublesome to build on my mac os x as there a lots of
> libraries missing. currently "bfd" (-lbfd) is missing.
>
> therefor I am still not sure if java.nio is the main reason for the
> performance bottleneck but apache mina is also capable of using APR as a
> transport layer (instead of java.nio).  that could improve overall
> performance too.

oprofile requires explicit kernel support to work, and as far as I
know, it only works on Linux.

In OS X you could try Shark, which comes with Apple's developer tools.
I don't know how well it plays with libgcj, but it's probably worth a
shot.

Bryce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.