Getting forked JVM details on the server side.

Vladimir Ozerov ppozerov at gmail.com
Sat Dec 13 23:19:58 UTC 2014


Hi,

I'm trying to implement perfasm counterpart for Windows which employs
"xperf" utility.
While actual profiler implementation is trivial and requires only minor
changes comparing to LinuxPerfAsmProfiler, there is an infrastructure
problem - I need pid of the spawned fork. Reason for this - xperf cannot
log events for particular process, it logs events for all of them, so I
need pid to filter out unnecessary events.

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?

Vladimir.


More information about the jmh-dev mailing list