Class ImpulseVmInterpreter
java.lang.Object
org.impulsegraph.vm.ImpulseVmInterpreter
Impulse VM Bytecode Interpreter. Executes native bytecodes lock-free and
zero-allocation over off-heap memory segments.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Objectexecute(MemorySegment programSeg, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena) static Objectexecute(MemorySegment programSeg, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena, List<String> stringPool) static Objectexecute(MemorySegment programSeg, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena, List<String> stringPool, MemorySegment inlineDataSeg) static Objectexecute(MemorySegment programSeg, VmHandlers.Instruction[] preDecoded, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena, List<String> stringPool, MemorySegment inlineDataSeg) static ObjectexecuteWithFuel(MemorySegment programSeg, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena, long maxFuel)
-
Field Details
-
DEBUG_MODE
public static final boolean DEBUG_MODE
-
-
Method Details
-
execute
public static Object execute(MemorySegment programSeg, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena) -
execute
public static Object execute(MemorySegment programSeg, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena, List<String> stringPool) -
execute
public static Object execute(MemorySegment programSeg, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena, List<String> stringPool, MemorySegment inlineDataSeg) -
execute
public static Object execute(MemorySegment programSeg, VmHandlers.Instruction[] preDecoded, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena, List<String> stringPool, MemorySegment inlineDataSeg) -
executeWithFuel
public static Object executeWithFuel(MemorySegment programSeg, long instructionCount, ImpulseGraphSnapshot snapshot, Object input, Arena arena, long maxFuel)
-