This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Howto: Profiling GCJ code?


On Mon, Jun 22, 2009 at 8:25 PM, Patrick Schäfer<ps@ekse.de> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]