java: Search for hserr file in proc_events Java exit
Open
enhancement
runtime/java
- Dominant language
- Python
- Stars
- 826
- Forks
- 79
- PR merge metrics
- No merged PRs in 30d
Description
We call `_check_hotspot_error` from `_profile_ap_process` if the process exited during profiling. Profiling happens in Windows and if processes exit between those Windows, we will miss. We can call `_check_hotspot_error` from `_proc_exit_callback`. Note that at this point we don't have the NSpid and the "container" of the process - so we can only check for the hserr file at the default location in host `/tmp`. Will work for Java running on host, not on containers.
This might catch more hserrs.
Contributor guide
Assessment
This issue has not been assessed yet.