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

public final Class JITRuntime

extends Object
Class Inheritance
Imports
org.jruby.*, org.jruby.ext.ffi.*, org.jruby.internal.runtime.methods.DynamicMethod, org.jruby.runtime.Block, .ThreadContext, org.jruby.runtime.builtin.IRubyObject, org.jruby.runtime.callsite.CachingCallSite, java.math.BigInteger

Field Summary

Modifier and TypeField and Description
private static final PointerParameterStrategy
private static final PointerParameterStrategy
private static final PointerParameterStrategy
private static final PointerParameterStrategy
private static final PointerParameterStrategy
private static final PointerParameterStrategy
private static final PointerParameterStrategy
private static final PointerParameterStrategy
private static final BigInteger

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean
public static int
public static long
public static IRubyObject
private static MemoryIO
public static MemoryIO
private static MemoryIO
convertToStringMemoryIO(IRubyObject parameter, ThreadContext context, CachingCallSite callSite, boolean isDirect, boolean checkStringSafety)

public static MemoryIO
public static MemoryIO
public static int
public static long
public static long
public static DynamicMethod
public static PointerParameterStrategy
public static MemoryIO
public static boolean
public static boolean
isTrue(boolean p1)

public static boolean
isTrue(boolean p1, boolean p2)

public static boolean
isTrue(boolean p1, boolean p2, boolean p3)

public static boolean
isTrue(boolean p1, boolean p2, boolean p3, boolean p4)

public static boolean
isTrue(boolean p1, boolean p2, boolean p3, boolean p4, boolean p5)

public static boolean
isTrue(boolean p1, boolean p2, boolean p3, boolean p4, boolean p5, boolean p6)

public static MemoryIO
public static PointerParameterStrategy
public static RuntimeException
newArityError(ThreadContext context, int got, int expected)

public static IRubyObject
newBoolean(ThreadContext context, int value)

public static IRubyObject
newBoolean(Ruby runtime, int value)

public static IRubyObject
newBoolean(ThreadContext context, long value)

public static IRubyObject
newBoolean(Ruby runtime, long value)

public static IRubyObject
newFloat32(ThreadContext context, int value)

public static IRubyObject
newFloat32(Ruby runtime, int value)
Deprecated

public static IRubyObject
newFloat32(ThreadContext context, long value)

public static IRubyObject
newFloat32(Ruby runtime, long value)
Deprecated

public static IRubyObject
newFloat64(ThreadContext context, long value)

public static IRubyObject
newFloat64(Ruby runtime, long value)
Deprecated

public static IRubyObject
newNil(ThreadContext context, int ignored)

public static IRubyObject
newNil(Ruby runtime, int ignored)
Deprecated

public static IRubyObject
newNil(ThreadContext context, long ignored)

public static IRubyObject
newNil(Ruby runtime, long ignored)
Deprecated

public static IRubyObject
newPointer32(ThreadContext context, int address)

public static IRubyObject
newPointer32(Ruby runtime, int address)

public static IRubyObject
newPointer32(ThreadContext context, long address)

public static IRubyObject
newPointer32(Ruby runtime, long address)

public static IRubyObject
newPointer64(ThreadContext context, long address)

public static IRubyObject
newPointer64(Ruby runtime, long address)

public static IRubyObject
newSigned16(ThreadContext context, int value)

public static IRubyObject
newSigned16(Ruby runtime, int value)
Deprecated

public static IRubyObject
newSigned16(ThreadContext context, long value)

public static IRubyObject
newSigned16(Ruby runtime, long value)
Deprecated

public static IRubyObject
newSigned32(ThreadContext context, int value)

public static IRubyObject
newSigned32(Ruby runtime, int value)
Deprecated

public static IRubyObject
newSigned32(ThreadContext context, long value)

public static IRubyObject
newSigned32(Ruby runtime, long value)
Deprecated

public static IRubyObject
newSigned64(ThreadContext context, long value)

public static IRubyObject
newSigned64(Ruby runtime, long value)
Deprecated

public static IRubyObject
newSigned8(ThreadContext context, int value)

public static IRubyObject
newSigned8(Ruby runtime, int value)
Deprecated

public static IRubyObject
newSigned8(ThreadContext context, long value)

public static IRubyObject
newSigned8(Ruby runtime, long value)
Deprecated

public static IRubyObject
newString(ThreadContext context, int address)

public static IRubyObject
newString(Ruby runtime, int address)

public static IRubyObject
newString(ThreadContext context, long address)

public static IRubyObject
newString(Ruby runtime, long address)

public static IRubyObject
newUnsigned16(ThreadContext context, int value)

public static IRubyObject
newUnsigned16(Ruby runtime, int value)
Deprecated

public static IRubyObject
newUnsigned16(ThreadContext context, long value)

public static IRubyObject
newUnsigned16(Ruby runtime, long value)
Deprecated

public static IRubyObject
newUnsigned32(ThreadContext context, int value)

public static IRubyObject
newUnsigned32(Ruby runtime, int value)

public static IRubyObject
newUnsigned32(ThreadContext context, long value)

public static IRubyObject
newUnsigned32(Ruby runtime, long value)
Deprecated

public static IRubyObject
newUnsigned64(ThreadContext context, long value)

public static IRubyObject
newUnsigned64(Ruby runtime, long value)
Deprecated

public static IRubyObject
newUnsigned8(ThreadContext context, int value)

public static IRubyObject
newUnsigned8(Ruby runtime, int value)
Deprecated

public static IRubyObject
newUnsigned8(ThreadContext context, long value)

public static IRubyObject
newUnsigned8(Ruby runtime, long value)
Deprecated

private static boolean
other2bool(ThreadContext context, IRubyObject parameter)

public static long
public static IRubyObject
other2ptr(ThreadContext context, IRubyObject parameter)

public static long
public static PointerParameterStrategy
public static int
public static long
public static int
public static long
public static int
public static long
public static long
public static int
public static long
public static PointerParameterStrategy
public static PointerParameterStrategy
public static int
public static long
public static int
public static long
public static long
public static int
public static long
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DIRECT_MEMORY_IOback to summary
private static final PointerParameterStrategy DIRECT_MEMORY_IO
DIRECT_MEMORY_OBJECTback to summary
private static final PointerParameterStrategy DIRECT_MEMORY_OBJECT
DIRECT_STRING_PARAMETER_STRATEGYback to summary
private static final PointerParameterStrategy DIRECT_STRING_PARAMETER_STRATEGY
HEAP_MEMORY_IOback to summary
private static final PointerParameterStrategy HEAP_MEMORY_IO
HEAP_MEMORY_OBJECTback to summary
private static final PointerParameterStrategy HEAP_MEMORY_OBJECT
HEAP_STRING_POINTER_STRATEGYback to summary
private static final PointerParameterStrategy HEAP_STRING_POINTER_STRATEGY
NIL_POINTER_STRATEGYback to summary
private static final PointerParameterStrategy NIL_POINTER_STRATEGY
TRANSIENT_STRING_PARAMETER_STRATEGYback to summary
private static final PointerParameterStrategy TRANSIENT_STRING_PARAMETER_STRATEGY
UINT64_BASEback to summary
private static final BigInteger UINT64_BASE

Constructor Detail

JITRuntimeback to summary
private JITRuntime()

Method Detail

boolValueback to summary
public static boolean boolValue(IRubyObject parameter)
boolValue32back to summary
public static int boolValue32(IRubyObject parameter)
boolValue64back to summary
public static long boolValue64(IRubyObject parameter)
convert2ptrback to summary
public static IRubyObject convert2ptr(ThreadContext context, IRubyObject parameter)
convertToPointerMemoryIOback to summary
private static MemoryIO convertToPointerMemoryIO(IRubyObject parameter)
convertToPointerMemoryIOback to summary
public static MemoryIO convertToPointerMemoryIO(ThreadContext context, IRubyObject parameter, CachingCallSite callSite)
convertToStringMemoryIOback to summary
private static MemoryIO convertToStringMemoryIO(IRubyObject parameter, ThreadContext context, CachingCallSite callSite, boolean isDirect, boolean checkStringSafety)
convertToStringMemoryIOback to summary
public static MemoryIO convertToStringMemoryIO(IRubyObject parameter, ThreadContext context, CachingCallSite callSite)
convertToTransientStringMemoryIOback to summary
public static MemoryIO convertToTransientStringMemoryIO(IRubyObject parameter, ThreadContext context, CachingCallSite callSite)
f32Value32back to summary
public static int f32Value32(IRubyObject parameter)
f32Value64back to summary
public static long f32Value64(IRubyObject parameter)
f64Value64back to summary
public static long f64Value64(IRubyObject parameter)
getConversionMethodback to summary
public static DynamicMethod getConversionMethod(IRubyObject parameter, CachingCallSite callSite)
getMemoryIOStrategyback to summary
public static PointerParameterStrategy getMemoryIOStrategy(MemoryIO memory)
getPointerMemoryIOback to summary
public static MemoryIO getPointerMemoryIO(IRubyObject parameter)
isDirectPointerback to summary
public static boolean isDirectPointer(IRubyObject parameter)
isTrueback to summary
public static boolean isTrue(boolean p1)
isTrueback to summary
public static boolean isTrue(boolean p1, boolean p2)
isTrueback to summary
public static boolean isTrue(boolean p1, boolean p2, boolean p3)
isTrueback to summary
public static boolean isTrue(boolean p1, boolean p2, boolean p3, boolean p4)
isTrueback to summary
public static boolean isTrue(boolean p1, boolean p2, boolean p3, boolean p4, boolean p5)
isTrueback to summary
public static boolean isTrue(boolean p1, boolean p2, boolean p3, boolean p4, boolean p5, boolean p6)
lookupPointerMemoryIOback to summary
public static MemoryIO lookupPointerMemoryIO(IRubyObject parameter)
lookupPointerParameterStrategyback to summary
public static PointerParameterStrategy lookupPointerParameterStrategy(IRubyObject parameter)
newArityErrorback to summary
public static RuntimeException newArityError(ThreadContext context, int got, int expected)
newBooleanback to summary
public static IRubyObject newBoolean(ThreadContext context, int value)
newBooleanback to summary
public static IRubyObject newBoolean(Ruby runtime, int value)
newBooleanback to summary
public static IRubyObject newBoolean(ThreadContext context, long value)
newBooleanback to summary
public static IRubyObject newBoolean(Ruby runtime, long value)
newFloat32back to summary
public static IRubyObject newFloat32(ThreadContext context, int value)
newFloat32back to summary
public static IRubyObject newFloat32(Ruby runtime, int value)

Deprecated

Annotations
@Deprecated
newFloat32back to summary
public static IRubyObject newFloat32(ThreadContext context, long value)
newFloat32back to summary
public static IRubyObject newFloat32(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
newFloat64back to summary
public static IRubyObject newFloat64(ThreadContext context, long value)
newFloat64back to summary
public static IRubyObject newFloat64(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
newNilback to summary
public static IRubyObject newNil(ThreadContext context, int ignored)
newNilback to summary
public static IRubyObject newNil(Ruby runtime, int ignored)

Deprecated

Annotations
@Deprecated
newNilback to summary
public static IRubyObject newNil(ThreadContext context, long ignored)
newNilback to summary
public static IRubyObject newNil(Ruby runtime, long ignored)

Deprecated

Annotations
@Deprecated
newPointer32back to summary
public static IRubyObject newPointer32(ThreadContext context, int address)
newPointer32back to summary
public static IRubyObject newPointer32(Ruby runtime, int address)
newPointer32back to summary
public static IRubyObject newPointer32(ThreadContext context, long address)
newPointer32back to summary
public static IRubyObject newPointer32(Ruby runtime, long address)
newPointer64back to summary
public static IRubyObject newPointer64(ThreadContext context, long address)
newPointer64back to summary
public static IRubyObject newPointer64(Ruby runtime, long address)
newSigned16back to summary
public static IRubyObject newSigned16(ThreadContext context, int value)
newSigned16back to summary
public static IRubyObject newSigned16(Ruby runtime, int value)

Deprecated

Annotations
@Deprecated
newSigned16back to summary
public static IRubyObject newSigned16(ThreadContext context, long value)
newSigned16back to summary
public static IRubyObject newSigned16(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
newSigned32back to summary
public static IRubyObject newSigned32(ThreadContext context, int value)
newSigned32back to summary
public static IRubyObject newSigned32(Ruby runtime, int value)

Deprecated

Annotations
@Deprecated
newSigned32back to summary
public static IRubyObject newSigned32(ThreadContext context, long value)
newSigned32back to summary
public static IRubyObject newSigned32(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
newSigned64back to summary
public static IRubyObject newSigned64(ThreadContext context, long value)
newSigned64back to summary
public static IRubyObject newSigned64(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
newSigned8back to summary
public static IRubyObject newSigned8(ThreadContext context, int value)
newSigned8back to summary
public static IRubyObject newSigned8(Ruby runtime, int value)

Deprecated

Annotations
@Deprecated
newSigned8back to summary
public static IRubyObject newSigned8(ThreadContext context, long value)
newSigned8back to summary
public static IRubyObject newSigned8(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
newStringback to summary
public static IRubyObject newString(ThreadContext context, int address)
newStringback to summary
public static IRubyObject newString(Ruby runtime, int address)
newStringback to summary
public static IRubyObject newString(ThreadContext context, long address)
newStringback to summary
public static IRubyObject newString(Ruby runtime, long address)
newUnsigned16back to summary
public static IRubyObject newUnsigned16(ThreadContext context, int value)
newUnsigned16back to summary
public static IRubyObject newUnsigned16(Ruby runtime, int value)

Deprecated

Annotations
@Deprecated
newUnsigned16back to summary
public static IRubyObject newUnsigned16(ThreadContext context, long value)
newUnsigned16back to summary
public static IRubyObject newUnsigned16(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
newUnsigned32back to summary
public static IRubyObject newUnsigned32(ThreadContext context, int value)
newUnsigned32back to summary
public static IRubyObject newUnsigned32(Ruby runtime, int value)
newUnsigned32back to summary
public static IRubyObject newUnsigned32(ThreadContext context, long value)
newUnsigned32back to summary
public static IRubyObject newUnsigned32(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
newUnsigned64back to summary
public static IRubyObject newUnsigned64(ThreadContext context, long value)
newUnsigned64back to summary
public static IRubyObject newUnsigned64(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
newUnsigned8back to summary
public static IRubyObject newUnsigned8(ThreadContext context, int value)
newUnsigned8back to summary
public static IRubyObject newUnsigned8(Ruby runtime, int value)

Deprecated

Annotations
@Deprecated
newUnsigned8back to summary
public static IRubyObject newUnsigned8(ThreadContext context, long value)
newUnsigned8back to summary
public static IRubyObject newUnsigned8(Ruby runtime, long value)

Deprecated

Annotations
@Deprecated
other2boolback to summary
private static boolean other2bool(ThreadContext context, IRubyObject parameter)
other2longback to summary
public static long other2long(IRubyObject parameter)
other2ptrback to summary
public static IRubyObject other2ptr(ThreadContext context, IRubyObject parameter)
other2u64back to summary
public static long other2u64(IRubyObject parameter)
pointerParameterStrategyback to summary
public static PointerParameterStrategy pointerParameterStrategy(IRubyObject parameter)
pointerValue32back to summary
public static int pointerValue32(IRubyObject parameter)
pointerValue64back to summary
public static long pointerValue64(IRubyObject parameter)
s16Value32back to summary
public static int s16Value32(IRubyObject parameter)
s16Value64back to summary
public static long s16Value64(IRubyObject parameter)
s32Value32back to summary
public static int s32Value32(IRubyObject parameter)
s32Value64back to summary
public static long s32Value64(IRubyObject parameter)
s64Value64back to summary
public static long s64Value64(IRubyObject parameter)
s8Value32back to summary
public static int s8Value32(IRubyObject parameter)
s8Value64back to summary
public static long s8Value64(IRubyObject parameter)
stringParameterStrategyback to summary
public static PointerParameterStrategy stringParameterStrategy(IRubyObject parameter)
transientStringParameterStrategyback to summary
public static PointerParameterStrategy transientStringParameterStrategy(IRubyObject parameter)
u16Value32back to summary
public static int u16Value32(IRubyObject parameter)
u16Value64back to summary
public static long u16Value64(IRubyObject parameter)
u32Value32back to summary
public static int u32Value32(IRubyObject parameter)
u32Value64back to summary
public static long u32Value64(IRubyObject parameter)
u64Value64back to summary
public static long u64Value64(IRubyObject parameter)
u8Value32back to summary
public static int u8Value32(IRubyObject parameter)
u8Value64back to summary
public static long u8Value64(IRubyObject parameter)