Hi Dimitris,

Le 31/03/2019 à 23:09, Dimitris Lekkas a écrit :
> 
> Correct me if I'm wrong, but it doesn't seem to me that allocating size of
> 4KB
> multiple would equivalently mean that the starting address of data is also
> a
> multiple of 4KB.

You're right.

> For example, in the Java implementation when an ArrowBuf is allocated we
> later slice it to allocate both a data buffer and validity buffer.

That's an interesting approach.  The C++ side allocates separate memory
areas for validity and raw data.

> Would it help if I
> opened a PR with our workaround for page-alignment in Java?

The Java maintainers would have to answer.

Regards

Antoine.

Reply via email to