Hi,

http://www.brendangregg.com/perf.html mentions the following** in
regards to profiling JVMs.

1) Is this still an issue, if not when was it fixed?
2) Are there workarounds? (Other JVMs?)
3) Does it even matter? What is the status quo? Are symbols just not
resolved or are parts of the stack omitted completely?

3 The lightweight-java-profiler seems to be able to resolve most
symbols, but I don't understand why it can and perf cannot.

** Note that Java may not show full stacks to begin with, due to
hotspot omitting the frame pointer (just like gcc). There is currently
no option to disable this optimization (either in OpenJDK or Oracle
JDK), meaning that profiling is basically broken. I've heard that the
performance benefit for omitting the frame pointer in hotspot is
negligible, meaning, we lose the incredibly useful ability to profile
stack traces for no real gain. Hotspot, at least, need to provide us
with an option to not omit the frame pointer.

P.S. I love the perf tool!


Regards,

Dennis Ordanov
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to