This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Profiling (Was: Memory residence)
Mark Wielaard writes:
> Hi,
>
> On Wed, 2005-05-25 at 15:18 +0100, Andrew Haley wrote:
> > It would be good to get some profile data on Eclipse startup so we
> > know for sure.
>
> Are there good guides for doing profiling with oprofile and/or
> valgrind/massif against gcj compiled executable and interpreting
> the results? It would be a great addition to our documentation/faq
> to have all the relevant information in one place. From following
> some of the discussions on irc I got the impression that there are
> still some bugs/workarounds needed to get accurate results (or at
> least that one needs very recent versions). So if someone who has
> done some profiling could do a little writeup that would be great.
I've had no trouble at all, so I don't know where the bugs other
people found may lie.
I just start oprofile, run the code, stop oprofile, and print the
reports with opreport -l. It really is as easy as that.
Andrew.