intel / intel/gprofiler

java: Search for hserr file in proc_events Java exit

Open
#700 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.