8352163: [AIX] SIGILL in AttachOperation::ReplyWriter::write_fully after 8319055

Reviewed-by: dholmes, mdoerr
This commit is contained in:
Alex Menkov 2025-03-18 17:59:01 +00:00
parent 53c5b93ca5
commit a3540be502

View File

@ -127,9 +127,11 @@ public:
// Called after the operation is completed.
// If reply_writer is provided, writes the results.
void complete() {
JavaThread* thread = JavaThread::current();
ThreadBlockInVM tbivm(thread);
flush_reply();
if (_reply_writer != nullptr) {
JavaThread* thread = JavaThread::current();
ThreadBlockInVM tbivm(thread);
flush_reply();
}
}
virtual void write(const char* str, size_t len) override {