ElfDecoder source search (dwarf scanning) is really slow. My preliminary perf analysis suggests we spend ~40% in file reads.
Source search is used during call stack printing when we crash and write the hs-err file, and for NMT detail reports. Especially for the former case speed is important. VMs must finish writing the error log quickly in order for the customer to be able to restart the java service. That is why we limit error log printing time (ErrorLogTimeout).
The task is to analyze performance more in depth and to check if we can improve this (e.g. by caching somewhere).
Source search is used during call stack printing when we crash and write the hs-err file, and for NMT detail reports. Especially for the former case speed is important. VMs must finish writing the error log quickly in order for the customer to be able to restart the java service. That is why we limit error log printing time (ErrorLogTimeout).
The task is to analyze performance more in depth and to check if we can improve this (e.g. by caching somewhere).
- relates to
-
JDK-8333994 NMT: call stacks should show source information
- Resolved