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 voidIRRuntimeHelpers.aliasGlobalVariable(Ruby runtime, Object newName, Object oldName) static intIRRuntimeHelpers.arrayLength(RubyArray array) static RubyStringIRRuntimeHelpers.asString(ThreadContext context, IRubyObject caller, IRubyObject target, CallSite site) asString using a given call sitestatic IRubyObjectIRRuntimeHelpers.callOptimizedAref(ThreadContext context, IRubyObject caller, IRubyObject target, RubyString keyStr, CallSite site) static voidIRRuntimeHelpers.callTrace(ThreadContext context, Block selfBlock, RubyEvent event, String name, String filename, int line) static voidIRRuntimeHelpers.callTrace(ThreadContext context, IRubyObject selfClass, RubyEvent event, String name, String filename, int line) static voidIRRuntimeHelpers.callTraceHooks(ThreadContext context, Block selfBlock, RubyEvent event, String name, String filename, int line) static voidIRRuntimeHelpers.checkForLJE(ThreadContext context, DynamicScope currentScope, boolean definedWithinMethod, Block block) static RubyStringIRRuntimeHelpers.chillLiteralString(RubyString string) static IRubyObjectIRRuntimeHelpers.classSuperIterSplatArgs(ThreadContext context, IRubyObject self, String methodName, RubyModule definingModule, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObjectIRRuntimeHelpers.classSuperSplatArgs(ThreadContext context, IRubyObject self, String methodName, RubyModule definingModule, IRubyObject[] args, Block block, boolean[] splatMap) static RubyHashIRRuntimeHelpers.constructHashFromArray(ThreadContext context, IRubyObject[] pairs) static IRScopeIRRuntimeHelpers.decodeScopeFromBytes(Ruby runtime, byte[] scopeBytes, String filename) static voidIRRuntimeHelpers.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 voidIRRuntimeHelpers.defCompiledClassMethod(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, String encodedArgumentDescriptors, IRubyObject obj, boolean maybeRefined, boolean receivesKeywordArgs, boolean needsToFindImplementer) static voidIRRuntimeHelpers.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 voidIRRuntimeHelpers.defCompiledInstanceMethod(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, String encodedArgumentDescriptors, DynamicScope currDynScope, IRubyObject self, boolean maybeRefined, boolean receivesKeywordArgs, boolean needsToFindImplementer) static RubyHashIRRuntimeHelpers.dupKwargsHashAndPopulateFromArray(ThreadContext context, RubyHash dupHash, IRubyObject[] pairs) static RubyStringIRRuntimeHelpers.freezeLiteralString(RubyString string) static RubyFixnumIRRuntimeHelpers.getArgScopeDepth(ThreadContext context, StaticScope currScope) static RubyClassIRRuntimeHelpers.getArray(ThreadContext context) static BlockIRRuntimeHelpers.getBlockFromObject(ThreadContext context, Object value) static IRubyObjectIRRuntimeHelpers.getClassVariable(ThreadContext context, RubyModule module, String id) static RubyStringIRRuntimeHelpers.getFileNameStringFromScope(ThreadContext context, StaticScope currScope) static BlockIRRuntimeHelpers.getFrameBlockFromBlock(Block block) static StringIRRuntimeHelpers.getFrameNameFromBlock(Block block) static RubyClassIRRuntimeHelpers.getHash(ThreadContext context) static RubyClassIRRuntimeHelpers.getObject(ThreadContext context) static BlockIRRuntimeHelpers.getRefinedBlockFromObject(ThreadContext context, StaticScope scope, Object value) static RubyClassIRRuntimeHelpers.getStandardError(ThreadContext context) static RubyClassIRRuntimeHelpers.getSymbol(ThreadContext context) static VariableAccessorIRRuntimeHelpers.getVariableAccessorForRead(IRubyObject object, String name) static VariableAccessorIRRuntimeHelpers.getVariableAccessorForWrite(IRubyObject object, String name) static IRubyObjectIRRuntimeHelpers.handleBreakAndReturnsInLambdas(ThreadContext context, DynamicScope dynScope, Object exc, Block block) static IRubyObjectIRRuntimeHelpers.handleNonlocalReturn(DynamicScope currentScope, Object rjExc) static IRubyObjectIRRuntimeHelpers.handlePropagatedBreak(ThreadContext context, DynamicScope dynScope, Object bjExc) static IRubyObjectIRRuntimeHelpers.hashCheck(ThreadContext context, IRubyObject hash) static IRubyObjectIRRuntimeHelpers.inheritedSearchConst(ThreadContext context, IRubyObject cmVal, String constName, boolean noPrivateConsts) static IRubyObjectIRRuntimeHelpers.initiateBreak(ThreadContext context, DynamicScope dynScope, IRubyObject breakValue, Block block) static IRubyObjectIRRuntimeHelpers.initiateNonLocalReturn(DynamicScope currentScope, Block block, IRubyObject returnValue) static IRubyObjectIRRuntimeHelpers.instanceSuperIterSplatArgs(ThreadContext context, IRubyObject self, String methodName, RubyModule definingModule, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObjectIRRuntimeHelpers.instanceSuperSplatArgs(ThreadContext context, IRubyObject self, String methodName, RubyModule definingModule, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObjectIRRuntimeHelpers.invokeModuleBody(ThreadContext context, DynamicMethod method) static RubyArrayIRRuntimeHelpers.irSplat(ThreadContext context, IRubyObject ary) static IRubyObjectIRRuntimeHelpers.isDefinedBackref(ThreadContext context, IRubyObject definedMessage) static IRubyObjectIRRuntimeHelpers.isDefinedCall(ThreadContext context, IRubyObject self, IRubyObject receiver, String name, IRubyObject definedMessage) static IRubyObjectIRRuntimeHelpers.isDefinedClassVar(ThreadContext context, RubyModule receiver, String name, IRubyObject definedMessage) static IRubyObjectIRRuntimeHelpers.isDefinedConstantOrMethod(ThreadContext context, IRubyObject receiver, RubyString name, IRubyObject definedConstantMessage, IRubyObject definedMethodMessage) static IRubyObjectIRRuntimeHelpers.isDefinedGlobal(ThreadContext context, String name, IRubyObject definedMessage) static IRubyObjectIRRuntimeHelpers.isDefinedMethod(ThreadContext context, IRubyObject receiver, String name, boolean checkIfPublic, IRubyObject definedMessage) static IRubyObjectIRRuntimeHelpers.isDefinedNthRef(ThreadContext context, int matchNumber, IRubyObject definedMessage) static IRubyObjectIRRuntimeHelpers.isDefinedSuper(ThreadContext context, IRubyObject receiver, String frameName, RubyModule frameClass, IRubyObject definedMessage) static IRubyObjectIRRuntimeHelpers.keywordRestOnHash(ThreadContext context, IRubyObject rest) static IRubyObjectIRRuntimeHelpers.lexicalSearchConst(ThreadContext context, StaticScope staticScope, String constName) static IRubyObjectIRRuntimeHelpers.mergeKeywordArguments(ThreadContext context, IRubyObject restKwarg, IRubyObject explicitKwarg, boolean checkForDuplicates) static RubyArrayIRRuntimeHelpers.newArray(ThreadContext context) static RubyArrayIRRuntimeHelpers.newArray(ThreadContext context, IRubyObject obj) static RubyArrayIRRuntimeHelpers.newArray(ThreadContext context, IRubyObject obj0, IRubyObject obj1) static final ByteListIRRuntimeHelpers.newByteListFromRaw(Ruby runtime, String str, String encoding) static DynamicMethodIRRuntimeHelpers.newCompiledClassBody(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, Object container, Object superClass, boolean maybeRefined) static DynamicMethodIRRuntimeHelpers.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 DynamicMethodIRRuntimeHelpers.newCompiledModuleBody(ThreadContext context, MethodHandle handle, String id, int line, StaticScope scope, Object rubyContainer, boolean maybeRefined) static RubyComplexIRRuntimeHelpers.newComplexRaw(ThreadContext context, IRubyObject i) static RubySymbolIRRuntimeHelpers.newDSymbol(ThreadContext context, IRubyObject symbol) static RubyRegexpIRRuntimeHelpers.newDynamicRegexp(ThreadContext context, IRubyObject[] pieces, int embeddedOptions) static RubyRegexpIRRuntimeHelpers.newDynamicRegexp(ThreadContext context, IRubyObject arg0, int embeddedOptions) static RubyRegexpIRRuntimeHelpers.newDynamicRegexp(ThreadContext context, IRubyObject arg0, IRubyObject arg1, int embeddedOptions) static RubyRegexpIRRuntimeHelpers.newDynamicRegexp(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, int embeddedOptions) static RubyRegexpIRRuntimeHelpers.newDynamicRegexp(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, int embeddedOptions) static RubyRegexpIRRuntimeHelpers.newDynamicRegexp(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, int embeddedOptions) static RubyStringIRRuntimeHelpers.newFrozenStringFromRaw(ThreadContext context, String str, String encoding, int cr) static RubyStringIRRuntimeHelpers.newFrozenStringFromRaw(ThreadContext context, String str, String encoding, int cr, String file, int line) static FunctionalCachingCallSiteIRRuntimeHelpers.newFunctionalCachingCallSite(String name) static RubyProcIRRuntimeHelpers.newLambdaProc(ThreadContext context, Block block) static RubyRegexpIRRuntimeHelpers.newLiteralRegexp(ThreadContext context, ByteList source, int embeddedOptions) static MonomorphicCallSiteIRRuntimeHelpers.newMonomorphicCallSite(String name) static IRubyObjectIRRuntimeHelpers.newProc(ThreadContext context, Block block) static RubyRationalIRRuntimeHelpers.newRationalCanonicalize(ThreadContext context, IRubyObject num, IRubyObject den) static RefinedCachingCallSiteIRRuntimeHelpers.newRefinedCachingCallSite(String name, StaticScope scope, String callType) static RaiseExceptionIRRuntimeHelpers.newRequiredKeywordArgumentError(ThreadContext context, String id) static RubyModuleIRRuntimeHelpers.newRubyModuleFromIR(ThreadContext context, String id, StaticScope scope, Object rubyContainer, boolean maybeRefined) static RubyProcIRRuntimeHelpers.newSymbolProc(ThreadContext context, ByteList value) Create a new Symbol.to_proc for the given symbol name and encoding.static VariableCachingCallSiteIRRuntimeHelpers.newVariableCachingCallSite(String name) static BlockIRRuntimeHelpers.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 DynamicScopeIRRuntimeHelpers.prepareScriptScope(ThreadContext context, StaticScope scope) static IRubyObject[]IRRuntimeHelpers.prepareSingleBlockArgs(ThreadContext context, Block block, IRubyObject[] args) static DynamicScopeIRRuntimeHelpers.pushBlockDynamicScopeNew(ThreadContext context, Block block) static DynamicScopeIRRuntimeHelpers.pushBlockDynamicScopeReuse(ThreadContext context, Block block) static voidIRRuntimeHelpers.pushExitBlock(ThreadContext context, Object blk) static voidIRRuntimeHelpers.putClassVariable(ThreadContext context, IRubyObject self, RubyModule module, String id, IRubyObject value) static voidIRRuntimeHelpers.putConst(ThreadContext context, IRubyObject self, IRubyObject module, String id, IRubyObject value, StaticScope scope, int line) static IRubyObjectIRRuntimeHelpers.receiveKeywordArg(ThreadContext context, IRubyObject keywords, String id) static IRubyObjectIRRuntimeHelpers.receiveKeywordRestArg(ThreadContext context, IRubyObject keywords) static IRubyObjectIRRuntimeHelpers.receiveNormalKeywordsNoRestNoKeywords(ThreadContext context, IRubyObject[] args) Simplified receiveKeywords when: receiver is not a ruby2_keywords method.static IRubyObjectIRRuntimeHelpers.receiveOptArg(IRubyObject[] args, IRubyObject keywords, int requiredArgs, int preArgs, int argIndex) static IRubyObjectIRRuntimeHelpers.receivePostReqdArg(ThreadContext context, IRubyObject[] args, IRubyObject keywords, int pre, int opt, boolean rest, int post, int argIndex) static IRubyObjectIRRuntimeHelpers.receiveRestArg(ThreadContext context, IRubyObject[] args, IRubyObject keywords, int required, int argIndex) static IRubyObjectIRRuntimeHelpers.receiveSpecificArityKeywords(ThreadContext context, IRubyObject last, boolean ruby2Keywords) static RubyEncodingIRRuntimeHelpers.retrieveEncoding(ThreadContext context, String name) static org.jcodings.EncodingIRRuntimeHelpers.retrieveJCodingsEncoding(ThreadContext context, String name) static IRubyObjectIRRuntimeHelpers.returnOrRethrowSavedException(ThreadContext context, IRubyObject value) static IRubyObjectIRRuntimeHelpers.searchConst(ThreadContext context, StaticScope staticScope, String constName, boolean noPrivateConsts) static voidIRRuntimeHelpers.setCallInfo(ThreadContext context, int flags) static IRubyObject[]IRRuntimeHelpers.singleBlockArgToArray(IRubyObject value) static RubyArrayIRRuntimeHelpers.splatArray(ThreadContext context, IRubyObject ary) Call to_ary to get Array or die typing.static RubyArrayIRRuntimeHelpers.splatArray(ThreadContext context, IRubyObject ary, boolean dupArray) Call to_ary to get Array or die typing.static RubyArrayIRRuntimeHelpers.splatArrayDup(ThreadContext context, IRubyObject ary) Call to_ary to get Array or die typing.static IRubyObjectIRRuntimeHelpers.svalue(ThreadContext context, Object val) static longIRRuntimeHelpers.unboxFixnum(IRubyObject val) static doubleIRRuntimeHelpers.unboxFloat(IRubyObject val) static IRubyObjectIRRuntimeHelpers.unresolvedSuperIterSplatArgs(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObjectIRRuntimeHelpers.unresolvedSuperSplatArgs(ThreadContext context, IRubyObject self, IRubyObject[] args, Block block, boolean[] splatMap) static IRubyObjectIRRuntimeHelpers.updateBlockState(Block block, IRubyObject self) static IRubyObjectIRRuntimeHelpers.yield(ThreadContext context, Block b, IRubyObject yieldVal, boolean unwrapArray) static IRubyObjectIRRuntimeHelpers.yieldSpecific(ThreadContext context, Block b) static IRubyObjectIRRuntimeHelpers.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 CallSiteCheckArityBootstrap.checkArity(MethodHandles.Lookup lookup, String name, MethodType type, int req, int opt, int rest, int keyrest) static voidCheckArityBootstrap.checkArity(ThreadContext context, StaticScope scope, Object[] args, Object keywords, Block block, int req, int opt, boolean rest, int keyrest) static CallSiteCheckArityBootstrap.checkAritySpecificArgs(MethodHandles.Lookup lookup, String name, MethodType type, int req, int opt, int rest, int keyrest) static voidCheckArityBootstrap.checkAritySpecificArgs(ThreadContext context, StaticScope scope, Object[] args, Block block, int req, int opt, boolean rest, int keyrest) static CallSiteMetaClassBootstrap.openMetaClass(MethodHandles.Lookup lookup, String name, MethodType type, MethodHandle body, MethodHandle scope, MethodHandle setScope, int line, int dynscopeEliminated, int refinements) static DynamicMethodMetaClassBootstrap.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 RubyArrayHelpers.argsPush(ThreadContext context, IRubyObject first, IRubyObject second, boolean usesKeywords) static booleanHelpers.BNE(ThreadContext context, IRubyObject value1, IRubyObject value2) voidThreadContext.exceptionBacktraceOff()voidThreadContext.exceptionBacktraceOn()static IRubyObjectHelpers.getDefinedConstantOrBoundMethod(ThreadContext context, IRubyObject left, String name, IRubyObject definedConstantMessage, IRubyObject definedMethodMessage) static BlockHelpers.getImplicitBlockFromBlockBinding(Block block) abstract IRubyObjectDynamicScope.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) voidDynamicScope.setValueDepthZeroVoid(IRubyObject value, int offset) setValue for depth zerovoidDynamicScope.setValueEightDepthZeroVoid(IRubyObject value) Set value eight in this scope.voidDynamicScope.setValueFiveDepthZeroVoid(IRubyObject value) Set value five in this scope.voidDynamicScope.setValueFourDepthZeroVoid(IRubyObject value) Set value four in this scope.voidDynamicScope.setValueNineDepthZeroVoid(IRubyObject value) Set value nine in this scope.voidDynamicScope.setValueOneDepthZeroVoid(IRubyObject value) Set value one in this scope.voidDynamicScope.setValueSevenDepthZeroVoid(IRubyObject value) Set value seven in this scope.voidDynamicScope.setValueSixDepthZeroVoid(IRubyObject value) Set value six in this scope.voidDynamicScope.setValueThreeDepthZeroVoid(IRubyObject value) Set value three in this scope.voidDynamicScope.setValueTwoDepthZeroVoid(IRubyObject value) Set value two in this scope.abstract voidDynamicScope.setValueVoid(IRubyObject value, int offset, int depth) Set value in current dynamic scope or one of its captured scopes.voidDynamicScope.setValueZeroDepthZeroVoid(IRubyObject value) Set value zero in this scope;