Top Fields Constructors Methods
org.python.modules.jffi

pack-priv final Class JITHandle

extends Object
Class Inheritance
Imports
java.lang.ref.WeakReference, java.lang.reflect.Constructor, java.util.concurrent.atomic.AtomicInteger

Field Summary

Modifier and TypeField and Description
private volatile boolean
private WeakReference<Class<? extends Invoker>>
private final JITCompiler
private final AtomicInteger
private final JITSignature
private static final int

Constructor Summary

AccessConstructor and Description
pack-priv
JITHandle(JITCompiler compiler, JITSignature signature, boolean compilationFailed)

Method Summary

Modifier and TypeMethod and Description
pack-priv final boolean
pack-priv final Invoker
compile(Function function, NativeDataConverter resultConverter, NativeDataConverter[] parameterConverters)

pack-priv static Invoker
pack-priv Class<? extends Invoker>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

compilationFailedback to summary
private volatile boolean compilationFailed
compiledClassRefback to summary
private WeakReference<Class<? extends Invoker>> compiledClassRef
compilerback to summary
private final JITCompiler compiler
counterback to summary
private final AtomicInteger counter
jitSignatureback to summary
private final JITSignature jitSignature
THRESHOLDback to summary
private static final int THRESHOLD

Constructor Detail

JITHandleback to summary
pack-priv JITHandle(JITCompiler compiler, JITSignature signature, boolean compilationFailed)

Method Detail

compilationFailedback to summary
pack-priv final boolean compilationFailed()
compileback to summary
pack-priv final Invoker compile(Function function, NativeDataConverter resultConverter, NativeDataConverter[] parameterConverters)
createFallbackInvokerback to summary
pack-priv static Invoker createFallbackInvoker(Function function, JITSignature signature)
newInvokerClassback to summary
pack-priv Class<? extends Invoker> newInvokerClass(JITSignature jitSignature)