Top Fields Constructors Methods
org.jruby.ext.ffi.jffi

pack-priv final Class JITHandle

extends Object
Class Inheritance
Imports
java.lang.ref.Reference, .SoftReference, .WeakReference, java.lang.reflect.Constructor, java.util.concurrent.atomic.AtomicInteger, org.jruby.RubyInstanceConfig, .RubyModule, org.jruby.ext.ffi.Type, org.jruby.util.cli.Options

Field Summary

Modifier and TypeField and Description
private volatile boolean
private Reference<Class<? extends NativeInvoker>>
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 NativeInvoker
compile(RubyModule implementationClass, Function function, Signature signature, String methodName)

pack-priv Class<? extends NativeInvoker>
newInvokerClass(JITSignature jitSignature, String methodName)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

compilationFailedback to summary
private volatile boolean compilationFailed
compiledClassRefback to summary
private Reference<Class<? extends NativeInvoker>> 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 NativeInvoker compile(RubyModule implementationClass, Function function, Signature signature, String methodName)
newInvokerClassback to summary
pack-priv Class<? extends NativeInvoker> newInvokerClass(JITSignature jitSignature, String methodName)