Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
MemoryChunk implementation includes random access of data by functions implemented using UNSAFE. The checkIndex() function is used to check the valid index for the random access using the index, absolute address and type size.
Current checkIndex() for put() and get() passes zero as type size, and it should be changed to 1 since single byte has a size of 1.
Attachments
Attachments
Issue Links
- is related to
-
NEMO-388 Off-heap memory management (reuse ByteBuffer)
-
- Resolved
-
- links to