Companion

object Companion

Functions

Link copied to clipboard
fun assignmentFunction(): A_Function

Answer the bootstrapped assignment function used to restart implicitly observed assignments.

Link copied to clipboard
fun current(): Interpreter

Answer the Avail interpreter associated with the Thread.currentThread. If this thread is not an AvailThread, then fail.

Link copied to clipboard
fun currentIndexOrZero(): Int

Answer the unique interpreterIndex of the Avail interpreter associated with the current thread, if any. If this thread is not an AvailThread, answer 0.

Link copied to clipboard
fun currentOrNull(): Interpreter?

Answer the Avail interpreter associated with the current thread. If this thread is not an AvailThread, then answer null.

Link copied to clipboard
fun log(    logger: Logger,     level: Level,     message: String,     vararg arguments: Any?)
fun log(    affectedFiber: A_Fiber?,     logger: Logger,     level: Level?,     message: String,     vararg arguments: Any?)

Log a message.

Link copied to clipboard
fun setLoggerLevel(level: Level)

Set the current logging level for interpreters.

Link copied to clipboard
fun traceL2(    executableChunk: ExecutableChunk,     offset: Int,     description: String,     firstReadOperandValue: Any)

If JVMTranslator.callTraceL2AfterEveryInstruction was true during code generation, this method is invoked just prior to each L2 instruction.

Properties

Link copied to clipboard
val afterAttemptPrimitiveMethod: CheckedMethod
Link copied to clipboard
val argsBufferField: CheckedField

The CheckedField for the field argsBuffer.

Link copied to clipboard
val attemptThePrimitiveMethod: CheckedMethod
Link copied to clipboard
val beforeAttemptPrimitiveMethod: CheckedMethod
Link copied to clipboard
val callerIsReifiedMethod: CheckedMethod

Access the callerIsReified method.

Link copied to clipboard
val checkValidityMethod: CheckedMethod

A method to access checkValidity.

Link copied to clipboard
val chunkField: CheckedField

Access to the field chunk.

Link copied to clipboard
var debugCheckAfterUnload: Boolean = false

When set, each time a module is unloaded, a breadth-first scan is performed, starting at the runtime, attempting to locate the module that was just unloaded. It should not be accessible, so finding a path to it indicates a problem.

Link copied to clipboard
var debugCustom: Boolean = false

Whether to print debug information related to a specific problem being debugged with a custom VM. This is a convenience flag and will be inaccessible in a production VM.

Link copied to clipboard
var debugL1: Boolean = false

Whether to print detailed Level One debug information.

Link copied to clipboard
var debugL2: Boolean = false

Whether to print detailed Level Two debug information.

Link copied to clipboard
var debugPrimitives: Boolean = false

Whether to print detailed Primitive debug information.

Link copied to clipboard
var debugWorkUnits: Boolean = false

Whether to print detailed debug information related to compiler/lexer work unit tracking.

Link copied to clipboard
val getLatestResultMethod: CheckedMethod

Access the getLatestResult method.

Link copied to clipboard
val getReifiedContinuationMethod: CheckedMethod

Access the getReifiedContinuation method.

Link copied to clipboard
val interpreterFunctionField: CheckedField

The CheckedField for the field function.

Link copied to clipboard
val interpreterReturningFunctionField: CheckedField

The CheckedField for the field argsBuffer.

Link copied to clipboard
val interpreterRunChunkMethod: CheckedMethod

Access the runChunk method.

Link copied to clipboard
val isInterruptRequestedMethod: CheckedMethod

Access the isInterruptRequested method.

Link copied to clipboard
val levelOneStepperField: CheckedField
Link copied to clipboard
val loggerDebugJVM: Logger
Link copied to clipboard
val loggerDebugL1: Logger
Link copied to clipboard
val loggerDebugL2: Logger
Link copied to clipboard
val offsetField: CheckedField
Link copied to clipboard
val popContinuationMethod: CheckedMethod

Access the popContinuation method.

Link copied to clipboard
val postinvokeMethod: CheckedMethod

Access the postinvoke method.

Link copied to clipboard
val preinvoke0Method: CheckedMethod

Access the preinvoke0 method.

Link copied to clipboard
val preinvoke1Method: CheckedMethod

Access the preinvoke1 method.

Link copied to clipboard
val preinvoke2Method: CheckedMethod

Access the preinvoke2 method.

Link copied to clipboard
val preinvoke3Method: CheckedMethod

Access the preinvoke3 method.

Link copied to clipboard
val preinvokeMethod: CheckedMethod

Access the preinvoke method.

Link copied to clipboard
val reifierToRestartMethod: CheckedMethod
Link copied to clipboard
val reifyMethod: CheckedMethod
Link copied to clipboard
val reportUnassignedVariableReadMethod: CheckedMethod

Access the reportUnassignedVariableRead method.

Link copied to clipboard
val reportWrongReturnTypeMethod: CheckedMethod

Access the reportWrongReturnType method.

Link copied to clipboard
val returnNowField: CheckedField

Access the returnNow field.

Link copied to clipboard
val runtimeField: CheckedField
Link copied to clipboard
val setLatestResultMethod: CheckedMethod

Access the setLatestResult method.

Link copied to clipboard
val setReifiedContinuationMethod: CheckedMethod

Access the setReifiedContinuation method.

Link copied to clipboard
val traceL2Method: CheckedMethod

The CheckedMethod referring to the static method traceL2.