Skip to content

Ram Class Persistence: A suballocator for pre-defined heap spaces#23356

Draft
lzhou2025 wants to merge 1 commit intoeclipse-openj9:masterfrom
lzhou2025:suballocator
Draft

Ram Class Persistence: A suballocator for pre-defined heap spaces#23356
lzhou2025 wants to merge 1 commit intoeclipse-openj9:masterfrom
lzhou2025:suballocator

Conversation

@lzhou2025
Copy link
Member

@lzhou2025 lzhou2025 commented Feb 11, 2026

The suballocator is based on dlmalloc to manage RCP pre-defined heap spaces. The heap space is partitioned into multiple subspaces and each subspace is associated with a mspace of dlmalloc, which is protected by a lock. When multiple threads allocate or free memory at the same time, it will be handled across multiple subspaces and a dedicated subspace is assigned to each thread to reduce lock contention.

@lzhou2025 lzhou2025 force-pushed the suballocator branch 4 times, most recently from 1ffbc0c to b0eebd2 Compare February 18, 2026 15:29
@lzhou2025 lzhou2025 force-pushed the suballocator branch 6 times, most recently from beecf5e to a6d90b1 Compare February 25, 2026 22:31
The suballocator is based on dlmalloc to manage RCP pre-defined
heap spaces. The heap space is partitioned into multiple
subspaces and each subspace is associated with a mspace of
dlmalloc, which is protected by a lock. When multiple threads
allocate or free memory at the same time, it will be handled
across multiple subspaces and a dedicated subspace is assigned
to each thread to reduce lock contention.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant