keva icon indicating copy to clipboard operation
keva copied to clipboard

Apply garbage-free off-heap programming to database operations

Open tuhuynh27 opened this issue 3 years ago • 1 comments

Ref: net.openhft.chronicle.map.ChronicleMap:

Functionally this interface defines some methods supporting garbage-free off-heap programming: getUsing(Object, Object), acquireUsing(Object, Object).

Consider using getUsing and accquireUsing, and Values.newHeapInstance(byte[].class)

tuhuynh27 avatar Jun 01 '22 03:06 tuhuynh27

image

According to this, getUsing is not supported for byte yet. Also, using Values.newHeapInstance(byte[].class) return in IllegalArgumentException since byte[] is not a value interface according to CM docs

haphananhtuan avatar Jun 08 '22 14:06 haphananhtuan