lidavidm commented on issue #36400: URL: https://github.com/apache/arrow/issues/36400#issuecomment-1613834672
I think it'd be possible & reasonable to (add a mode where) over-allocate by 64 bytes and then use the aligned subset of the buffer. That's what Arrow C++ actually does when using libc malloc. I'd have to look more deeply into Netty to see what it does though. Was your Java application using the Netty allocator or the "unsafe" allocator? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
