-
Notifications
You must be signed in to change notification settings - Fork 199
MemorySegment based implementation of LongList #24569
Copy link
Copy link
Labels
PlatformTickets pertaining to the platformTickets pertaining to the platformPlatform Virtual MapTech Debt ReducedIssues which reduce technical debt.Issues which reduce technical debt.
Milestone
Description
LongList interface in MerkleDb has several implementations, including Java heap and off-heap lists. Off-heap implementation relies on sun.misc.Unsafe to close its index chunks, which are Java direct byte buffers.
With JDK 25 support, a new implementation can be provided, based on MemorySegments. It would combine native buffer benefits (as off-heap) and well defined API to manage buffer lifecycle (as on-heap).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
PlatformTickets pertaining to the platformTickets pertaining to the platformPlatform Virtual MapTech Debt ReducedIssues which reduce technical debt.Issues which reduce technical debt.
Type
Projects
Status
👀 In Review