public class ArrayDerefInvokeSite extends NormalInvokeSite
| Modifier and Type | Field and Description |
|---|---|
static org.objectweb.asm.Handle |
BOOTSTRAP |
argOffset, arity, cache, callType, file, flags, fullSignature, functional, line, methodName, NEGATE, signature| Constructor and Description |
|---|
ArrayDerefInvokeSite(java.lang.invoke.MethodType type,
java.lang.String file,
int line) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.invoke.CallSite |
bootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String name,
java.lang.invoke.MethodType type,
java.lang.String file,
int line) |
IRubyObject |
fail(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject arg0,
Block block)
Failover version uses a monomorphic cache and DynamicMethod.call, as in non-indy.
|
IRubyObject |
invoke(ThreadContext context,
IRubyObject caller,
IRubyObject self,
IRubyObject[] args,
Block block) |
static boolean |
testOptimizedHash(RubyClass testClass,
IRubyObject self) |
protected com.headius.invokebinder.SmartHandle |
testTarget(IRubyObject self,
RubyModule testClass) |
bootstrap, newSitebootstrap, callMethodMissing, callMethodMissing, callMethodMissing, callMethodMissing, fail, fail, fail, fail, failf, failf, failf, failf, failf, getHandle, invoke, methodMissing, methodMissing, name, negate, pollAndGetClass, prepareBinder, setInitialTarget, setTarget, testClass, toString, updateInvocationTargetpublic ArrayDerefInvokeSite(java.lang.invoke.MethodType type,
java.lang.String file,
int line)
public static java.lang.invoke.CallSite bootstrap(java.lang.invoke.MethodHandles.Lookup lookup,
java.lang.String name,
java.lang.invoke.MethodType type,
java.lang.String file,
int line)
public IRubyObject invoke(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject[] args, Block block) throws java.lang.Throwable
invoke in class InvokeSitejava.lang.Throwableprotected com.headius.invokebinder.SmartHandle testTarget(IRubyObject self, RubyModule testClass)
testTarget in class InvokeSitepublic static boolean testOptimizedHash(RubyClass testClass, IRubyObject self)
public IRubyObject fail(ThreadContext context, IRubyObject caller, IRubyObject self, IRubyObject arg0, Block block) throws java.lang.Throwable
fail in class InvokeSitejava.lang.ThrowableCopyright © 2001-2023 JRuby. All Rights Reserved.