jvm-profiling-tools / honest-profiler

A sampling JVM profiler without the safepoint sample bias
https://github.com/RichardWarburton/honest-profiler/wiki
MIT License
1.25k stars 146 forks source link

report native and mixed mode (i.e., Java + native) stack frames #127

Closed ceeaspb closed 8 years ago

ceeaspb commented 8 years ago

Recent changes last year to the jvm fixed up frame pointers so that native stack frames / whole stack could be walked. Jeremy Manson reported that google had this working previously in LJP.

Some workloads spend a lot of time in kernel for whatever reason, by extending HP to native and mixed mode stacks this could extend the field of vision for HP.

nitsanw commented 8 years ago

My 2c: Adding full stack walking capabilities is a large problem to solve (it is solved elsewhere by perf+PMA for Unix users, but that has further issues, and with Solaris Studio with other issues) and I'm not sure this is the place to solve it.

nitsanw commented 8 years ago

@RichardWarburton close as WONTFIX?

RichardWarburton commented 8 years ago

That's probably fair.