Getting forked JVM details on the server side.
Vladimir Ozerov
ppozerov at gmail.com
Tue Feb 10 12:23:17 UTC 2015
Hi,
Sure, here it is.
Sample code to run with debug symbols:
System.setProperty("jmh.perfasm.xperf.dir", "C:\\Program Files
(x86)\\Windows Kits\\8.1\\Windows Performance Toolkit"); // Path to "xperf".
System.setProperty("jmh.perfasm.symbol.dir",
"F:\\code\\jdk8u\\build\\windows-x86_64-normal-server-release\\jdk\\bin\\server");
//
Path to pdb.
Options opt = new OptionsBuilder()
.jvm("F:\\code\\jdk8u\\build\\windows-x86_64-normal-server-release\\jdk\\bin\\java")
.addProfiler(WinPerfAsmProfiler.class)
// Other stuff.
.build();
new Runner(opt).run();
2015-02-10 14:04 GMT+03:00 Aleksey Shipilev <aleksey.shipilev at oracle.com>:
> Hi Vladimir,
>
> Sorry, your message was rejected by the mailing list due to it's size.
> Can you please try again? I temporarily beefed up the limit.
>
> Thanks,
> -Aleksey.
>
> On 02/08/2015 06:57 PM, Vladimir Ozerov wrote:
> > Alexey,
> >
> > Please find the patch attached.
> >
> > Here is a sample code how to run it with debug symbols:
> >
> > System.setProperty("jmh.perfasm.xperf.dir", "C:\\Program Files
> > (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit"); // Path to
> "xperf".
> > System.setProperty("jmh.perfasm.symbol.dir",
> >
> "F:\\code\\jdk8u\\build\\windows-x86_64-normal-server-release\\jdk\\bin\\server");
> //
> > Path to pdb.
> >
> > Options opt = new OptionsBuilder()
> >
> >
> .jvm("F:\\code\\jdk8u\\build\\windows-x86_64-normal-server-release\\jdk\\bin\\java")
> > .addProfiler(WinPerfAsmProfiler.class)
> > // Other stuff.
> > .build();
> >
> > new Runner(opt).run();
> >
> > 2015-01-10 1:27 GMT+03:00 Vladimir Ozerov <ppozerov at gmail.com
> > <mailto:ppozerov at gmail.com>>:
> >
> > Alexey,
> >
> > Thank you. I've just sent OCA.
> >
> > Vladimir.
> >
> >
> >
> > 2014-12-18 17:34 GMT+03:00 Aleksey Shipilev
> > <aleksey.shipilev at oracle.com <mailto:aleksey.shipilev at oracle.com>>:
> >
> > On 12/15/2014 11:11 AM, Aleksey Shipilev wrote:
> > >> What do you think about making a change to BinaryLinkClient,
> so that method
> > >> "requestOptions()" will also send information about it's
> environment to the
> > >> server? I.e. it will be not "requestOptions", but a kind of
> handshake where
> > >> both participants share some information with each other?
> > >
> > > Sure, hack it together, let's see what happens.
> >
> > I completely forgot that if you want to contribute the patch
> back to
> > JMH, it is a good idea to sign the OCA right now. See
> > http://openjdk.java.net/contribute/, step 0.
> >
> > Thanks,
> > -Aleksey.
> >
> >
> >
>
>
>
More information about the jmh-dev
mailing list