RFR: 8352392: AIX: implement attach API v2 and streaming output
Varada M
varadam at openjdk.org
Thu Mar 27 11:48:12 UTC 2025
On Sun, 23 Mar 2025 14:33:36 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)
test/hotspot/jtreg/serviceability/attach/AttachAPIv2/StreamingOutputTest.java
Initial failure
Execution failed: `main' threw exception: java.lang.Exception: VM did not logged expected 'executing command setflag, streaming output: 1'
AIX hasn’t adopted changes to support the new protocol version v2 https://github.com/openjdk/jdk/blob/8efd253f3d0a58233c0fde31a9514b8c911c892c/src/jdk.attach/aix/classes/sun/tools/attach/VirtualMachineImpl.java#L114. Additionally aix doesn’t have the changes to support streaming output. The "getversion” command supports an "options" argument which currently takes option "streaming"which allows client to control streaming/buffered output mode.
On aix, this process uses unix sockets for communications like posix had more similar implementation. Is there anything additional changes I should take care of?
https://github.com/openjdk/jdk/pull/20782#issuecomment-2319508258
https://github.com/openjdk/jdk/pull/23405#issuecomment-2628559151
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24177#issuecomment-2757747650
More information about the hotspot-runtime-dev
mailing list