jvm-profiling-tools / perf-map-agent

A java agent to generate method mappings to use with the linux `perf` tool
GNU General Public License v2.0
1.64k stars 260 forks source link

perf-map-agent as jvmti agent on start #68

Closed RainM closed 6 years ago

RainM commented 6 years ago

Hi,

I tried to use perf-map-agent as pure JVMTI agent via -agentlib argument. But the current implementation doesn't have Agent_OnLoad method.

So, does it worth to implement Agen_OnLoad function (I'm ready to do it)? If so, should I handle a situation when compiled method was abandoned (is it possible to handle these situations?)?

--Sergey

jrudolph commented 6 years ago

Hi @RainM. See #27 for a previous discussion on a similar topic.

RainM commented 6 years ago

Thanks, @jrudolph. #27 has points for next experiments.

RainM commented 6 years ago

Should I close this issue as duplicate since we have #27 with the same issue?

jrudolph commented 6 years ago

Yep, that's close this one.