You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, Authors,
Thank you to open-source this projects. The agent and handy scripts are extremely helpful for me.
I have a problem about JIT-ed code. I end up with a lot of PCs which point to nowhere but fall in the range of map files. I interpret it in this way: the symbols in the map file are not accurate.
I have a question about this line. It seems that two statements happen in sequence.
That is to say, the script generates map file right after 'perf record' has done. Why not make them run in parallel? In current model, will agent has a skewed view? or I have to make sure my profiling program enter a stable state ?
The text was updated successfully, but these errors were encountered:
It works indeed best in steady state. The problem is otherwise that a profiling run takes some time but we can only provide a single map file which contains a snapshot of the current mappings. If anything changes during the profiling run that snapshot would not be current.
#27 has some ideas how mapping could work if new entries are written during the whole lifetime of the process but afaik no one has looked into what would be needed to output the required format.
If the mapping itself is correct but somewhat inaccurate adding -XX:+UnlockDiagnosticVMOptions -XX:+DebugNonSafepoints parameters can help as well.
Alternatively, I often use async-profiler if I need to profile non-steady state JVMs.
@jrudolph thank you!
I got it. you are right. Actually, I run dacapo benchmark. I manage to skip many warmup iterations and the results become more reasonable. meanwhile, let me try to use async-profiler.
Hello, Authors,
Thank you to open-source this projects. The agent and handy scripts are extremely helpful for me.
I have a problem about JIT-ed code. I end up with a lot of PCs which point to nowhere but fall in the range of map files. I interpret it in this way: the symbols in the map file are not accurate.
I have a question about this line. It seems that two statements happen in sequence.
perf-map-agent/bin/perf-java-record-stack
Line 25 in d9843a0
That is to say, the script generates map file right after 'perf record' has done. Why not make them run in parallel? In current model, will agent has a skewed view? or I have to make sure my profiling program enter a stable state ?
The text was updated successfully, but these errors were encountered: