You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2023/06/29 21:32:00 UTC

[GitHub] [arrow] lidavidm commented on issue #36400: [Java] Memory allocation alignment

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org