dragonwell-project / dragonwell11

Alibaba Dragonwell11 JDK
https://www.aliyun.com/product/dragonwell
GNU General Public License v2.0
557 stars 113 forks source link

[Backport] 8254723: add diagnostic command to write Linux perf map file #744

Closed lusou-zhangquan closed 8 months ago

lusou-zhangquan commented 9 months ago

When using the Linux "perf" tool to do system profiling, symbol names of running Java methods cannot be decoded. Considering that perf can read a simple text file format describing the mapping between address ranges and symbol names for a particular process, it will be very convenient if Hotspot could write this file directly using a diagnostic command.

lusou-zhangquan commented 8 months ago

Merged