From: Stefan Hajnoczi <stefanha@gmail.com>
To: Geoffrey Blake <geoffrey.w.blake@gmail.com>
Cc: linux-perf-users@vger.kernel.org
Subject: Re: Profiling Java code running on Sun HotSpot JVM with linux perf
Date: Wed, 31 Aug 2011 08:35:44 +0100 [thread overview]
Message-ID: <CAJSP0QUEcbuxE6n0pb3rydaUuna_nLi-gPZVT6TXGS5OXMAK9A@mail.gmail.com> (raw)
In-Reply-To: <CACiFetRWM4nmfAhB1J6dSSJdiQnCqov8XQYHqrSuxSiMrWoLFA@mail.gmail.com>
On Tue, Aug 30, 2011 at 9:03 PM, Geoffrey Blake
<geoffrey.w.blake@gmail.com> wrote:
> Hi all,
>
> I am trying to profile some java server applications using %>perf
> record -a, and as expected the majority of the execution time of these
> applications is spent within jit'ed java code. According to these
> lists, the jit should be outputting a /tmp/perf-$pid.map file for each
> thread being jit'ed. The Sun JIT does not seem to have this output
> enabled by default. Does anyone here know what options I need to set
> on the command line to get the JVM to output the symbol map files from
> the JIT?
I don't know the answer but if you don't get one here you could check
the OProfile mailing list. I believe there was a solution for JIT
compilers with OProfile and people probably got popular JVMs like
HotSpot working. That might reveal what support HotSpot has for doing
this.
Stefan
next prev parent reply other threads:[~2011-08-31 7:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-30 20:03 Profiling Java code running on Sun HotSpot JVM with linux perf Geoffrey Blake
2011-08-31 7:35 ` Stefan Hajnoczi [this message]
2011-08-31 9:00 ` Maucci, Cyrille
2011-09-01 10:21 ` Stefan Hajnoczi
2011-09-01 14:58 ` Maynard Johnson
2011-09-02 15:42 ` Geoffrey Blake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJSP0QUEcbuxE6n0pb3rydaUuna_nLi-gPZVT6TXGS5OXMAK9A@mail.gmail.com \
--to=stefanha@gmail.com \
--cc=geoffrey.w.blake@gmail.com \
--cc=linux-perf-users@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).