Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply garbage-free off-heap programming to database operations #141

Open
tuhuynh27 opened this issue Jun 1, 2022 · 1 comment
Open

Apply garbage-free off-heap programming to database operations #141

tuhuynh27 opened this issue Jun 1, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@tuhuynh27
Copy link
Member

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 tuhuynh27 added the enhancement New feature or request label Jun 1, 2022
@tuhuynh27 tuhuynh27 self-assigned this Jun 1, 2022
@haphananhtuan
Copy link
Collaborator

haphananhtuan commented Jun 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants