On Tue, 18 Mar 2025 02:00:17 GMT, David Holmes <[email protected]> wrote:
>> The change fixes crash on AIX after JDK-8319055
>> Can't test it on AIX, but the reason is obvious from the stack trace.
>> AIX is the only platform that does not implement `reply_writer` yet
>>
>> Testing: sanity tier1
>
> src/hotspot/share/services/attachListener.cpp line 130:
>
>> 128: // If reply_writer is provided, writes the results.
>> 129: void complete() {
>> 130: if (_reply_writer != nullptr) {
>
> Is this sufficient? I'm looking at JDK-8319055 for the first time and I can't
> figure out how the value of `_reply_writer` affects the `_allow_streaming`
> logic that accesses the reply-writer. We seem to enable streaming mode in
> platform independent code, yet the availability of the reply-writer is
> platform dependent! ???
Ah found it - sorry:
_allow_streaming(reply_writer == nullptr ? false : allow_streaming),
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24089#discussion_r1999997622