RFR: 8352392: AIX: implement attach API v2 and streaming output [v4]

Varada M varadam at openjdk.org
Thu Apr 3 07:23:05 UTC 2025


On Tue, 1 Apr 2025 10:30:56 GMT, Varada M <varadam at openjdk.org> wrote:

>> AIX changes for attach API to support arbitrary length arguments and the streaming output support. 
>> serviceability/attach/AttachAPIv2/StreamingOutputTest.java test passes
>> 
>> tier1, tier2 and tier3 testing is successful with fastdebug level
>> 
>> JBS Issue : [JDK-8352392](https://bugs.openjdk.org/browse/JDK-8352392)
>
> Varada M has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8352392: AIX: implement attach API v2 and streaming output

With the Attach API protocol update to version 2, now support arbitrary-length arguments, and shared code has been added in attachListener.cpp ([read_request](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/services/attachListener.cpp#L845), [write_fully](https://github.com/openjdk/jdk/blob/master/src/hotspot/share/services/attachListener.cpp#L908)) to handle this across platforms. As a result, the AIX code is no longer required. I also compared the older changes in the POSIX implementation and found them to be the same as AIX

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24177#issuecomment-2774714653


More information about the serviceability-dev mailing list