abstract class org.jruby.runtime.callsite.BimorphicCallSite extends org.jruby.runtime.callsite.CachingCallSite
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.jruby.runtime.callsite.BimorphicCallSite
super_class: org.jruby.runtime.callsite.CachingCallSite
{
protected org.jruby.runtime.callsite.CacheEntry secondaryCache;
descriptor: Lorg/jruby/runtime/callsite/CacheEntry;
flags: (0x0004) ACC_PROTECTED
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.jruby.runtime.CallType.NORMAL:Lorg/jruby/runtime/CallType;
invokespecial org.jruby.runtime.callsite.CachingCallSite.<init>:(Ljava/lang/String;Lorg/jruby/runtime/CallType;)V
1: aload 0
getstatic org.jruby.runtime.callsite.CacheEntry.NULL_CACHE:Lorg/jruby/runtime/callsite/CacheEntry;
putfield org.jruby.runtime.callsite.BimorphicCallSite.secondaryCache:Lorg/jruby/runtime/callsite/CacheEntry;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/callsite/BimorphicCallSite;
0 3 1 methodName Ljava/lang/String;
MethodParameters:
Name Flags
methodName
public final org.jruby.runtime.callsite.CacheEntry getSecondaryCache();
descriptor: ()Lorg/jruby/runtime/callsite/CacheEntry;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jruby.runtime.callsite.BimorphicCallSite.secondaryCache:Lorg/jruby/runtime/callsite/CacheEntry;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/callsite/BimorphicCallSite;
protected org.jruby.runtime.callsite.CacheEntry setSecondaryCache(org.jruby.runtime.callsite.CacheEntry, org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/callsite/CacheEntry;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/callsite/CacheEntry;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
dup_x1
putfield org.jruby.runtime.callsite.BimorphicCallSite.secondaryCache:Lorg/jruby/runtime/callsite/CacheEntry;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jruby/runtime/callsite/BimorphicCallSite;
0 1 1 entry Lorg/jruby/runtime/callsite/CacheEntry;
0 1 2 self Lorg/jruby/runtime/builtin/IRubyObject;
MethodParameters:
Name Flags
entry
self
public final org.jruby.runtime.callsite.CacheEntry retrieveSecondaryCache(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/callsite/CacheEntry;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyBasicObject.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.callsite.BimorphicCallSite.secondaryCache:Lorg/jruby/runtime/callsite/CacheEntry;
astore 3
start local 3 2: aload 3
aload 2
invokevirtual org.jruby.runtime.callsite.CacheEntry.typeOk:(Lorg/jruby/RubyClass;)Z
ifeq 4
3: aload 3
areturn
4: StackMap locals: org.jruby.RubyClass org.jruby.runtime.callsite.CacheEntry
StackMap stack:
aload 0
aload 1
aload 2
aload 0
getfield org.jruby.runtime.callsite.BimorphicCallSite.methodName:Ljava/lang/String;
invokevirtual org.jruby.runtime.callsite.BimorphicCallSite.cacheAndGetSecondary:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/callsite/BimorphicCallSite;
0 5 1 self Lorg/jruby/runtime/builtin/IRubyObject;
1 5 2 selfType Lorg/jruby/RubyClass;
2 5 3 cache Lorg/jruby/runtime/callsite/CacheEntry;
MethodParameters:
Name Flags
self
public boolean isSecondaryBuiltin(org.jruby.runtime.builtin.IRubyObject);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.jruby.RubyBasicObject.getMetaClass:(Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/RubyClass;
astore 2
start local 2 1: aload 0
getfield org.jruby.runtime.callsite.BimorphicCallSite.secondaryCache:Lorg/jruby/runtime/callsite/CacheEntry;
astore 3
start local 3 2: aload 3
aload 2
invokevirtual org.jruby.runtime.callsite.CacheEntry.typeOk:(Lorg/jruby/RubyClass;)Z
ifeq 4
3: aload 3
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.isBuiltin:()Z
ireturn
4: StackMap locals: org.jruby.RubyClass org.jruby.runtime.callsite.CacheEntry
StackMap stack:
aload 0
aload 1
aload 2
aload 0
getfield org.jruby.runtime.callsite.BimorphicCallSite.methodName:Ljava/lang/String;
invokevirtual org.jruby.runtime.callsite.BimorphicCallSite.cacheAndGetSecondary:(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.isBuiltin:()Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/jruby/runtime/callsite/BimorphicCallSite;
0 5 1 self Lorg/jruby/runtime/builtin/IRubyObject;
1 5 2 selfType Lorg/jruby/RubyClass;
2 5 3 cache Lorg/jruby/runtime/callsite/CacheEntry;
MethodParameters:
Name Flags
self
private org.jruby.runtime.callsite.CacheEntry cacheAndGetSecondary(org.jruby.runtime.builtin.IRubyObject, org.jruby.RubyClass, java.lang.String);
descriptor: (Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jruby/RubyClass;Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
aload 3
invokevirtual org.jruby.RubyClass.searchWithCache:(Ljava/lang/String;)Lorg/jruby/runtime/callsite/CacheEntry;
astore 4
start local 4 1: aload 4
getfield org.jruby.runtime.callsite.CacheEntry.method:Lorg/jruby/internal/runtime/methods/DynamicMethod;
invokevirtual org.jruby.internal.runtime.methods.DynamicMethod.isUndefined:()Z
ifne 2
aload 0
aload 4
aload 1
invokevirtual org.jruby.runtime.callsite.BimorphicCallSite.setSecondaryCache:(Lorg/jruby/runtime/callsite/CacheEntry;Lorg/jruby/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/callsite/CacheEntry;
astore 4
2: StackMap locals: org.jruby.runtime.callsite.CacheEntry
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/jruby/runtime/callsite/BimorphicCallSite;
0 3 1 self Lorg/jruby/runtime/builtin/IRubyObject;
0 3 2 selfType Lorg/jruby/RubyClass;
0 3 3 methodName Ljava/lang/String;
1 3 4 entry Lorg/jruby/runtime/callsite/CacheEntry;
MethodParameters:
Name Flags
self
selfType
methodName
}
SourceFile: "BimorphicCallSite.java"