Uses of Annotation Interface
org.jruby.ir.JIT
Packages that use JIT
-
Uses of JIT in org.jruby
Modifier and TypeMethodDescriptionRubyModule.defineOrGetModuleUnder
(ThreadContext context, String name, String file, int line) -
Uses of JIT in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime with annotations of type JITModifier and TypeMethodDescriptionstatic void
IRRuntimeHelpers.aliasGlobalVariable
(Ruby runtime, Object newName, Object oldName) static int
IRRuntimeHelpers.arrayLength
(RubyArray array) static RubyString
IRRuntimeHelpers.asString
(ThreadContext context, IRubyObject caller, IRubyObject target, CallSite site) asString using a given call sitestatic IRubyObject
IRRuntimeHelpers.callOptimizedAref
(ThreadContext context, IRubyObject caller, IRubyObject target, RubyString keyStr, CallSite site) static void
IRRuntimeHelpers.callTrace
(ThreadContext context, Block selfBlock, RubyEvent event, String name, String filename, int line) static void
IRRuntimeHelpers.callTrace
(ThreadContext context, IRubyObject selfClass, RubyEvent event, String name, String filename, int line) static void
IRRuntimeHelpers.callTraceHooks
(ThreadContext context, Block selfBlock, RubyEvent event, String name, String filename, int line) static void
IRRuntimeHelpers.checkForLJE
(ThreadContext context, DynamicScope currentScope, boolean definedWithinMethod, Block block) static RubyString
IRRuntimeHelpers.chillLiteralString
(RubyString string) static IRubyObject
IRRuntimeHelpers.classSuperIterSplatArgs
(ThreadContext context, IRubyObject self, String methodName, RubyModule definingModule, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObject
IRRuntimeHelpers.classSuperSplatArgs
(ThreadContext context, IRubyObject self, String methodName, RubyModule definingModule, IRubyObject[] args, Block block, boolean[] splatMap) static RubyHash
IRRuntimeHelpers.constructHashFromArray
(ThreadContext context, IRubyObject[] pairs) static IRScope
IRRuntimeHelpers.decodeScopeFromBytes
(Ruby runtime, byte[] scopeBytes, String filename) static void
IRRuntimeHelpers.defCompiledClassMethod
(ThreadContext context, MethodHandle variable, MethodHandle specific, int specificArity, String id, int line, StaticScope scope, String encodedArgumentDescriptors, IRubyObject obj, boolean maybeRefined, boolean receivesKeywordArgs, boolean needsToFindImplementer) static void
IRRuntimeHelpers.defCompiledClassMethod
(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, String encodedArgumentDescriptors, IRubyObject obj, boolean maybeRefined, boolean receivesKeywordArgs, boolean needsToFindImplementer) static void
IRRuntimeHelpers.defCompiledInstanceMethod
(ThreadContext context, MethodHandle variable, MethodHandle specific, int specificArity, String id, int line, StaticScope scope, String encodedArgumentDescriptors, DynamicScope currDynScope, IRubyObject self, boolean maybeRefined, boolean receivesKeywordArgs, boolean needsToFindImplementer) static void
IRRuntimeHelpers.defCompiledInstanceMethod
(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, String encodedArgumentDescriptors, DynamicScope currDynScope, IRubyObject self, boolean maybeRefined, boolean receivesKeywordArgs, boolean needsToFindImplementer) static RubyHash
IRRuntimeHelpers.dupKwargsHashAndPopulateFromArray
(ThreadContext context, RubyHash dupHash, IRubyObject[] pairs) static RubyString
IRRuntimeHelpers.freezeLiteralString
(RubyString string) static RubyFixnum
IRRuntimeHelpers.getArgScopeDepth
(ThreadContext context, StaticScope currScope) static RubyClass
IRRuntimeHelpers.getArray
(ThreadContext context) static Block
IRRuntimeHelpers.getBlockFromObject
(ThreadContext context, Object value) static IRubyObject
IRRuntimeHelpers.getClassVariable
(ThreadContext context, RubyModule module, String id) static RubyString
IRRuntimeHelpers.getFileNameStringFromScope
(ThreadContext context, StaticScope currScope) static Block
IRRuntimeHelpers.getFrameBlockFromBlock
(Block block) static String
IRRuntimeHelpers.getFrameNameFromBlock
(Block block) static RubyClass
IRRuntimeHelpers.getHash
(ThreadContext context) static RubyClass
IRRuntimeHelpers.getObject
(ThreadContext context) static Block
IRRuntimeHelpers.getRefinedBlockFromObject
(ThreadContext context, StaticScope scope, Object value) static RubyClass
IRRuntimeHelpers.getStandardError
(ThreadContext context) static RubyClass
IRRuntimeHelpers.getSymbol
(ThreadContext context) static VariableAccessor
IRRuntimeHelpers.getVariableAccessorForRead
(IRubyObject object, String name) static VariableAccessor
IRRuntimeHelpers.getVariableAccessorForWrite
(IRubyObject object, String name) static IRubyObject
IRRuntimeHelpers.handleBreakAndReturnsInLambdas
(ThreadContext context, DynamicScope dynScope, Object exc, Block block) static IRubyObject
IRRuntimeHelpers.handleNonlocalReturn
(DynamicScope currentScope, Object rjExc) static IRubyObject
IRRuntimeHelpers.handlePropagatedBreak
(ThreadContext context, DynamicScope dynScope, Object bjExc) static IRubyObject
IRRuntimeHelpers.hashCheck
(ThreadContext context, IRubyObject hash) static IRubyObject
IRRuntimeHelpers.inheritedSearchConst
(ThreadContext context, IRubyObject cmVal, String constName, boolean noPrivateConsts) static IRubyObject
IRRuntimeHelpers.initiateBreak
(ThreadContext context, DynamicScope dynScope, IRubyObject breakValue, Block block) static IRubyObject
IRRuntimeHelpers.initiateNonLocalReturn
(DynamicScope currentScope, Block block, IRubyObject returnValue) static IRubyObject
IRRuntimeHelpers.instanceSuperIterSplatArgs
(ThreadContext context, IRubyObject self, String methodName, RubyModule definingModule, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObject
IRRuntimeHelpers.instanceSuperSplatArgs
(ThreadContext context, IRubyObject self, String methodName, RubyModule definingModule, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObject
IRRuntimeHelpers.invokeModuleBody
(ThreadContext context, DynamicMethod method) static RubyArray
IRRuntimeHelpers.irSplat
(ThreadContext context, IRubyObject ary) static IRubyObject
IRRuntimeHelpers.isDefinedBackref
(ThreadContext context, IRubyObject definedMessage) static IRubyObject
IRRuntimeHelpers.isDefinedCall
(ThreadContext context, IRubyObject self, IRubyObject receiver, String name, IRubyObject definedMessage) static IRubyObject
IRRuntimeHelpers.isDefinedClassVar
(ThreadContext context, RubyModule receiver, String name, IRubyObject definedMessage) static IRubyObject
IRRuntimeHelpers.isDefinedConstantOrMethod
(ThreadContext context, IRubyObject receiver, RubyString name, IRubyObject definedConstantMessage, IRubyObject definedMethodMessage) static IRubyObject
IRRuntimeHelpers.isDefinedGlobal
(ThreadContext context, String name, IRubyObject definedMessage) static IRubyObject
IRRuntimeHelpers.isDefinedMethod
(ThreadContext context, IRubyObject receiver, String name, boolean checkIfPublic, IRubyObject definedMessage) static IRubyObject
IRRuntimeHelpers.isDefinedNthRef
(ThreadContext context, int matchNumber, IRubyObject definedMessage) static IRubyObject
IRRuntimeHelpers.isDefinedSuper
(ThreadContext context, IRubyObject receiver, String frameName, RubyModule frameClass, IRubyObject definedMessage) static IRubyObject
IRRuntimeHelpers.keywordRestOnHash
(ThreadContext context, IRubyObject rest) static IRubyObject
IRRuntimeHelpers.lexicalSearchConst
(ThreadContext context, StaticScope staticScope, String constName) static IRubyObject
IRRuntimeHelpers.mergeKeywordArguments
(ThreadContext context, IRubyObject restKwarg, IRubyObject explicitKwarg, boolean checkForDuplicates) static RubyArray
IRRuntimeHelpers.newArray
(ThreadContext context) static RubyArray
IRRuntimeHelpers.newArray
(ThreadContext context, IRubyObject obj) static RubyArray
IRRuntimeHelpers.newArray
(ThreadContext context, IRubyObject obj0, IRubyObject obj1) static final ByteList
IRRuntimeHelpers.newByteListFromRaw
(Ruby runtime, String str, String encoding) static DynamicMethod
IRRuntimeHelpers.newCompiledClassBody
(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, Object container, Object superClass, boolean maybeRefined) static DynamicMethod
IRRuntimeHelpers.newCompiledMetaClass
(ThreadContext context, MethodHandle handle, StaticScope scope, IRubyObject obj, int line, boolean refinements, boolean dynscopeEliminated) Construct a new DynamicMethod to wrap the given IRModuleBody and singletonizable object.static DynamicMethod
IRRuntimeHelpers.newCompiledModuleBody
(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, Object rubyContainer, boolean maybeRefined) static RubyComplex
IRRuntimeHelpers.newComplexRaw
(ThreadContext context, IRubyObject i) static RubySymbol
IRRuntimeHelpers.newDSymbol
(ThreadContext context, IRubyObject symbol) static RubyRegexp
IRRuntimeHelpers.newDynamicRegexp
(ThreadContext context, IRubyObject[] pieces, int embeddedOptions) static RubyRegexp
IRRuntimeHelpers.newDynamicRegexp
(ThreadContext context, IRubyObject arg0, int embeddedOptions) static RubyRegexp
IRRuntimeHelpers.newDynamicRegexp
(ThreadContext context, IRubyObject arg0, IRubyObject arg1, int embeddedOptions) static RubyRegexp
IRRuntimeHelpers.newDynamicRegexp
(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, int embeddedOptions) static RubyRegexp
IRRuntimeHelpers.newDynamicRegexp
(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, int embeddedOptions) static RubyRegexp
IRRuntimeHelpers.newDynamicRegexp
(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, int embeddedOptions) static RubyString
IRRuntimeHelpers.newFrozenStringFromRaw
(ThreadContext context, String str, String encoding, int cr) static RubyString
IRRuntimeHelpers.newFrozenStringFromRaw
(ThreadContext context, String str, String encoding, int cr, String file, int line) static FunctionalCachingCallSite
IRRuntimeHelpers.newFunctionalCachingCallSite
(String name) static RubyProc
IRRuntimeHelpers.newLambdaProc
(ThreadContext context, Block block) static RubyRegexp
IRRuntimeHelpers.newLiteralRegexp
(ThreadContext context, ByteList source, int embeddedOptions) static MonomorphicCallSite
IRRuntimeHelpers.newMonomorphicCallSite
(String name) static IRubyObject
IRRuntimeHelpers.newProc
(ThreadContext context, Block block) static RubyRational
IRRuntimeHelpers.newRationalCanonicalize
(ThreadContext context, IRubyObject num, IRubyObject den) static RefinedCachingCallSite
IRRuntimeHelpers.newRefinedCachingCallSite
(String name, StaticScope scope, String callType) static RaiseException
IRRuntimeHelpers.newRequiredKeywordArgumentError
(ThreadContext context, String id) static RubyModule
IRRuntimeHelpers.newRubyModuleFromIR
(ThreadContext context, String id, StaticScope scope, Object rubyContainer, boolean maybeRefined) static RubyProc
IRRuntimeHelpers.newSymbolProc
(ThreadContext context, ByteList value) Create a new Symbol.to_proc for the given symbol name and encoding.static VariableCachingCallSite
IRRuntimeHelpers.newVariableCachingCallSite
(String name) static Block
IRRuntimeHelpers.prepareBlock
(ThreadContext context, IRubyObject self, DynamicScope scope, BlockBody body) static IRubyObject[]
IRRuntimeHelpers.prepareBlockArgs
(ThreadContext context, Block block, IRubyObject[] args, boolean usesKwArgs, boolean ruby2Keywords) static IRubyObject[]
IRRuntimeHelpers.prepareFixedBlockArgs
(ThreadContext context, Block block, IRubyObject[] args) static IRubyObject[]
IRRuntimeHelpers.prepareNoBlockArgs
(ThreadContext context, Block block, IRubyObject[] args) Check whether incoming args are zero length for a lambda, and no-op for non-lambda.static DynamicScope
IRRuntimeHelpers.prepareScriptScope
(ThreadContext context, StaticScope scope) static IRubyObject[]
IRRuntimeHelpers.prepareSingleBlockArgs
(ThreadContext context, Block block, IRubyObject[] args) static DynamicScope
IRRuntimeHelpers.pushBlockDynamicScopeNew
(ThreadContext context, Block block) static DynamicScope
IRRuntimeHelpers.pushBlockDynamicScopeReuse
(ThreadContext context, Block block) static void
IRRuntimeHelpers.pushExitBlock
(ThreadContext context, Object blk) static void
IRRuntimeHelpers.putClassVariable
(ThreadContext context, IRubyObject self, RubyModule module, String id, IRubyObject value) static void
IRRuntimeHelpers.putConst
(ThreadContext context, IRubyObject self, IRubyObject module, String id, IRubyObject value, StaticScope scope, int line) static IRubyObject
IRRuntimeHelpers.receiveKeywordArg
(ThreadContext context, IRubyObject keywords, String id) static IRubyObject
IRRuntimeHelpers.receiveKeywordRestArg
(ThreadContext context, IRubyObject keywords) static IRubyObject
IRRuntimeHelpers.receiveNormalKeywordsNoRestNoKeywords
(ThreadContext context, IRubyObject[] args) Simplified receiveKeywords when: receiver is not a ruby2_keywords method.static IRubyObject
IRRuntimeHelpers.receiveOptArg
(IRubyObject[] args, IRubyObject keywords, int requiredArgs, int preArgs, int argIndex) static IRubyObject
IRRuntimeHelpers.receivePostReqdArg
(ThreadContext context, IRubyObject[] args, IRubyObject keywords, int pre, int opt, boolean rest, int post, int argIndex) static IRubyObject
IRRuntimeHelpers.receiveRestArg
(ThreadContext context, IRubyObject[] args, IRubyObject keywords, int required, int argIndex) static IRubyObject
IRRuntimeHelpers.receiveSpecificArityKeywords
(ThreadContext context, IRubyObject last, boolean ruby2Keywords) static RubyEncoding
IRRuntimeHelpers.retrieveEncoding
(ThreadContext context, String name) static org.jcodings.Encoding
IRRuntimeHelpers.retrieveJCodingsEncoding
(ThreadContext context, String name) static IRubyObject
IRRuntimeHelpers.returnOrRethrowSavedException
(ThreadContext context, IRubyObject value) static IRubyObject
IRRuntimeHelpers.searchConst
(ThreadContext context, StaticScope staticScope, String constName, boolean noPrivateConsts) static void
IRRuntimeHelpers.setCallInfo
(ThreadContext context, int flags) static IRubyObject[]
IRRuntimeHelpers.singleBlockArgToArray
(IRubyObject value) static RubyArray
IRRuntimeHelpers.splatArray
(ThreadContext context, IRubyObject ary) Call to_ary to get Array or die typing.static RubyArray
IRRuntimeHelpers.splatArray
(ThreadContext context, IRubyObject ary, boolean dupArray) Call to_ary to get Array or die typing.static RubyArray
IRRuntimeHelpers.splatArrayDup
(ThreadContext context, IRubyObject ary) Call to_ary to get Array or die typing.static IRubyObject
IRRuntimeHelpers.svalue
(ThreadContext context, Object val) static long
IRRuntimeHelpers.unboxFixnum
(IRubyObject val) static double
IRRuntimeHelpers.unboxFloat
(IRubyObject val) static IRubyObject
IRRuntimeHelpers.unresolvedSuperIterSplatArgs
(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObject
IRRuntimeHelpers.unresolvedSuperSplatArgs
(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObject
IRRuntimeHelpers.updateBlockState
(Block block, IRubyObject self) static IRubyObject
IRRuntimeHelpers.yield
(ThreadContext context, Block b, IRubyObject yieldVal, boolean unwrapArray) static IRubyObject
IRRuntimeHelpers.yieldSpecific
(ThreadContext context, Block b) static IRubyObject
IRRuntimeHelpers.yieldValues
(ThreadContext context, Block blk, IRubyObject[] args) -
Uses of JIT in org.jruby.ir.targets.indy
Methods in org.jruby.ir.targets.indy with annotations of type JITModifier and TypeMethodDescriptionstatic CallSite
CheckArityBootstrap.checkArity
(MethodHandles.Lookup lookup, String name, MethodType type, int req, int opt, int rest, int keyrest) static void
CheckArityBootstrap.checkArity
(ThreadContext context, StaticScope scope, Object[] args, Object keywords, Block block, int req, int opt, boolean rest, int keyrest) static CallSite
CheckArityBootstrap.checkAritySpecificArgs
(MethodHandles.Lookup lookup, String name, MethodType type, int req, int opt, int rest, int keyrest) static void
CheckArityBootstrap.checkAritySpecificArgs
(ThreadContext context, StaticScope scope, Object[] args, Block block, int req, int opt, boolean rest, int keyrest) static CallSite
MetaClassBootstrap.openMetaClass
(MethodHandles.Lookup lookup, String name, MethodType type, MethodHandle body, MethodHandle scope, MethodHandle setScope, int line, int dynscopeEliminated, int refinements) static DynamicMethod
MetaClassBootstrap.openMetaClass
(ThreadContext context, IRubyObject object, String descriptor, StaticScope parent, MethodHandle body, StaticScope scope, MethodHandle setScope, int line, boolean dynscopeEliminated, boolean refinements) static boolean
-
Uses of JIT in org.jruby.runtime
Methods in org.jruby.runtime with annotations of type JITModifier and TypeMethodDescriptionstatic RubyArray
Helpers.argsPush
(ThreadContext context, IRubyObject first, IRubyObject second, boolean usesKeywords) static boolean
Helpers.BNE
(ThreadContext context, IRubyObject value1, IRubyObject value2) void
ThreadContext.exceptionBacktraceOff()
void
ThreadContext.exceptionBacktraceOn()
static IRubyObject
Helpers.getDefinedConstantOrBoundMethod
(ThreadContext context, IRubyObject left, String name, IRubyObject definedConstantMessage, IRubyObject definedMethodMessage) static Block
Helpers.getImplicitBlockFromBlockBinding
(Block block) abstract IRubyObject
DynamicScope.getValue
(int offset, int depth) Get value from current scope or one of its captured scopes.DynamicScope.getValueDepthZero
(int offset) Variation of getValue for depth 0DynamicScope.getValueEightDepthZero()
getValue for index 8, depth 0DynamicScope.getValueFiveDepthZero()
getValue for index 5, depth 0DynamicScope.getValueFourDepthZero()
getValue for index 4, depth 0DynamicScope.getValueNineDepthZero()
getValue for index 9, depth 0DynamicScope.getValueOneDepthZero()
getValue for index 1, depth 0DynamicScope.getValueSevenDepthZero()
getValue for index 7, depth 0DynamicScope.getValueSixDepthZero()
getValue for index 6, depth 0DynamicScope.getValueThreeDepthZero()
getValue for index 3, depth 0DynamicScope.getValueTwoDepthZero()
getValue for index 2, depth 0DynamicScope.getValueZeroDepthZero()
getValue for index 0, depth 0ThreadContext.last_match()
MRI: rb_reg_last_matchThreadContext.match_last()
MRI: rb_reg_match_lastThreadContext.match_post()
MRI: rb_reg_match_postThreadContext.match_pre()
MRI: rb_reg_match_preThreadContext.preYieldNoScope
(Block block) ThreadContext.pushNewScope
(StaticScope staticScope) void
DynamicScope.setValueDepthZeroVoid
(IRubyObject value, int offset) setValue for depth zerovoid
DynamicScope.setValueEightDepthZeroVoid
(IRubyObject value) Set value eight in this scope.void
DynamicScope.setValueFiveDepthZeroVoid
(IRubyObject value) Set value five in this scope.void
DynamicScope.setValueFourDepthZeroVoid
(IRubyObject value) Set value four in this scope.void
DynamicScope.setValueNineDepthZeroVoid
(IRubyObject value) Set value nine in this scope.void
DynamicScope.setValueOneDepthZeroVoid
(IRubyObject value) Set value one in this scope.void
DynamicScope.setValueSevenDepthZeroVoid
(IRubyObject value) Set value seven in this scope.void
DynamicScope.setValueSixDepthZeroVoid
(IRubyObject value) Set value six in this scope.void
DynamicScope.setValueThreeDepthZeroVoid
(IRubyObject value) Set value three in this scope.void
DynamicScope.setValueTwoDepthZeroVoid
(IRubyObject value) Set value two in this scope.abstract void
DynamicScope.setValueVoid
(IRubyObject value, int offset, int depth) Set value in current dynamic scope or one of its captured scopes.void
DynamicScope.setValueZeroDepthZeroVoid
(IRubyObject value) Set value zero in this scope;