On-heap huge slab allocator
A non-volatile computer memory has instructions executed by a processor to create an array of pages, where each page is configured with individual chunks of memory to receive serialized data. The array of pages is positioned as an on-heap slab of at least 200 GB in a garbage collector managed area of a virtual machine memory.
1. A non-volatile computer memory with instructions executed by a processor to:
create an array of pages, wherein each page is configured with individual chunks of memory to receive serialized data; and
position the array of pages as an on-heap slab of at least 200 GB in a garbage collector managed area of a virtual machine memory, wherein the garbage collector managed area of the virtual machine memory includes 2 GB of young generational space and 254 GB of old generational space hosting the on-heap slab.
2. The non-volatile computer memory of claim 1 wherein the garbage collector processes individual pages of the array of pages.
3. The non-volatile computer memory of claim 1 wherein the individual chunks of memory are uniquely identified.
4. The non-volatile computer memory of claim 1 wherein the individual chunks of memory include individual chunks of memory of different sizes.
5. The non-volatile computer memory of claim 1 wherein the individual chunks of memory are each defined with a size that is a power of two.
6. The non-volatile computer memory of claim 1 wherein the individual chunks of memory are combined and split at runtime to adapt to runtime behavior.