yahoo / Oak

A Scalable Concurrent Key-Value Map for Big Data Analytics
Apache License 2.0
268 stars 48 forks source link

Fix bug in OffHeapList #184

Closed liran-funaro closed 2 years ago

liran-funaro commented 2 years ago

Use SeqExpandMemoryManager in OffHeapList. Previously, we used a MM with a header, but we didn't allocate additional space for the header. So when tried to access the data, we stepped out of the buffer boundaries.

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.