Index

A C D F G I M O P S 
All Classes and Interfaces|All Packages

A

allocate(long, long) - Method in class io.github.overrun.memstack.DefaultMemoryStack
 
allocate(long, long) - Method in interface io.github.overrun.memstack.MemoryStack
The returned memory segment is a slice of the backing segment and is not initialized with zero.
asArena() - Method in class io.github.overrun.memstack.DefaultMemoryStack
 
asArena() - Method in interface io.github.overrun.memstack.MemoryStack
Wraps this memory stack into an arena for re-associating a memory segment with MemorySegment::reinterpretRESTRICTED.

C

close() - Method in interface io.github.overrun.memstack.MemoryStack

D

DefaultMemoryStack - Class in io.github.overrun.memstack
The default implementation of MemoryStack.
DefaultMemoryStack(MemorySegment, int) - Constructor for class io.github.overrun.memstack.DefaultMemoryStack
Creates the default memory stack with the given segment and frame count.

F

FRAME_COUNT - Static variable in class io.github.overrun.memstack.StackConfigurations
The default frame count for a memory stack.
frameCount() - Method in class io.github.overrun.memstack.DefaultMemoryStack
 
frameCount() - Method in interface io.github.overrun.memstack.MemoryStack
Returns the count of the offsets this stack can store.
frameIndex() - Method in class io.github.overrun.memstack.DefaultMemoryStack
 
frameIndex() - Method in interface io.github.overrun.memstack.MemoryStack
Returns the current frame index.

G

get() - Method in class io.github.overrun.memstack.StackConfigurations.Entry
Returns the value.

I

io.github.overrun.memstack - module io.github.overrun.memstack
Memory stack
io.github.overrun.memstack - package io.github.overrun.memstack
 

M

MemoryStack - Interface in io.github.overrun.memstack
Memory stack
Memory stack - Search tag in interface io.github.overrun.memstack.MemoryStack
Section

O

of() - Static method in interface io.github.overrun.memstack.MemoryStack
Creates a memory stack with the default size and frame count.
of(long, int) - Static method in interface io.github.overrun.memstack.MemoryStack
Creates a memory stack, backed with a memory segment allocated with an auto arena and the given size, with the given frame count.
of(MemorySegment, int) - Static method in interface io.github.overrun.memstack.MemoryStack
Creates a default memory stack backed with the given memory segment and frame count.
ofLocal() - Static method in interface io.github.overrun.memstack.MemoryStack
Returns the memory stack for the current thread.

P

pop() - Method in class io.github.overrun.memstack.DefaultMemoryStack
 
pop() - Method in interface io.github.overrun.memstack.MemoryStack
Pops to the previous frame and sets the current offset.
popLocal() - Static method in interface io.github.overrun.memstack.MemoryStack
push() - Method in class io.github.overrun.memstack.DefaultMemoryStack
 
push() - Method in interface io.github.overrun.memstack.MemoryStack
Remembers the current offset and pushes a frame for next allocations.
Push and pop - Search tag in interface io.github.overrun.memstack.MemoryStack
Section
pushLocal() - Static method in interface io.github.overrun.memstack.MemoryStack

S

segment() - Method in class io.github.overrun.memstack.DefaultMemoryStack
 
segment() - Method in interface io.github.overrun.memstack.MemoryStack
Returns the backing memory segment.
set(T) - Method in class io.github.overrun.memstack.StackConfigurations.Entry
Sets the value.
setPointer(long) - Method in class io.github.overrun.memstack.DefaultMemoryStack
 
setPointer(long) - Method in interface io.github.overrun.memstack.MemoryStack
Sets the offset of this stack.
STACK_SIZE - Static variable in class io.github.overrun.memstack.StackConfigurations
The default stack size in bytes.
StackConfigurations - Class in io.github.overrun.memstack
The configurations of memory stack.
StackConfigurations.Entry<T> - Class in io.github.overrun.memstack
A configuration entry
stackPointer() - Method in class io.github.overrun.memstack.DefaultMemoryStack
 
stackPointer() - Method in interface io.github.overrun.memstack.MemoryStack
Returns the current offset of this stack.
A C D F G I M O P S 
All Classes and Interfaces|All Packages