Open ymartin59 opened 3 years ago
When I saw error like this the last time, it was a mismatch between the target JDK and the tools.jar. The attach protocol is not guaranteed to be compatible between JDKs.
For me using "long" (> 65536) PIDs works in general.
I am facing this issue with trying to load agent into JVM when system process PID out of integer range:
Is there any other work-around than reboot Linux?
Generally speaking, is this "integer" PID restriction for hotspot VM attachment has been fixed in any recent Java 8 or OpenJDK version?