I did not reproduce the problem that you described yet, but there is a limitation, which is described in the Release Notes document:
- On Linux, attaching to a target that is in the middle of a blocking or non-blocking call might cause the target to fail.
- On Linux, attaching to a multithreaded target will not properly record data for threads that are already created at the time of the attach. No warning about missing data is provided.
So, even if you are able to attach to a running java process on Linux, this profiling experiment may not contain any interesting data,
because it will profile only one thread. Please, try to profile this java application from the beginning using "Profile Application" feature.