Package org.neo4j.gds.core.loading
Class BumpAllocator<PAGE>
- java.lang.Object
-
- org.neo4j.gds.core.loading.BumpAllocator<PAGE>
-
public final class BumpAllocator<PAGE> extends java.lang.Object
"Bump" refers to the implementation in that there is a local allocator that is able to do a fast-path allocation by just bumping a pointer value. The name follows the description of the TLAB-allocation from the JVM. https://shipilev.net/jvm/anatomy-quarks/4-tlab-allocation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BumpAllocator.Factory<PAGE>
static class
BumpAllocator.LocalAllocator<PAGE>
-
Field Summary
Fields Modifier and Type Field Description static long
PAGE_MASK
static int
PAGE_SHIFT
static int
PAGE_SIZE
-
-
-
Field Detail
-
PAGE_SHIFT
public static final int PAGE_SHIFT
- See Also:
- Constant Field Values
-
PAGE_SIZE
public static final int PAGE_SIZE
- See Also:
- Constant Field Values
-
PAGE_MASK
public static final long PAGE_MASK
- See Also:
- Constant Field Values
-
-