Protocol version of Attach API

Yasumasa Suenaga yasuenag at
Tue Feb 26 06:01:01 UTC 2019

Hi all,

When I attached to VM which is after 8215622 change via jcmd in JDK 8
on Linux, jcmd hanged.
I checked the status of target VM and jcmd,
LinuxAttachListener::read_request() on target VM was waiting for
subsequent argument.

8215622 increased number of arguments of Attach API [1].
Of course it is my mistake, but I think we can increase version number
(PROTOCOL_VERSION) because Attach API has been updated in 8215622.

What do you think?
If it is accepted, I will file it to JBS.




More information about the serviceability-dev mailing list