Top Fields Constructors Methods
org.jruby.runtime

public Class MethodIndex

extends Object
Class Inheritance
Imports
java.util.Arrays, .Collections, .HashSet, .List, .Map, .Set, java.util.concurrent.ConcurrentHashMap, org.jruby.RubyInstanceConfig, org.jruby.anno.FrameField, org.jruby.ir.IRScope, org.jruby.runtime.callsite.DivCallSite, .LtCallSite, .LeCallSite, .MinusCallSite, .ModCallSite, .MulCallSite, .MonomorphicCallSite, .GtCallSite, .NotEqCallSite, .PlusCallSite, .GeCallSite, .CmpCallSite, .EqCallSite, .BitAndCallSite, .BitOrCallSite, .FunctionalCachingCallSite, .ProfilingCachingCallSite, .RespondToCallSite, .ShiftLeftCallSite, .ShiftRightCallSite, .SuperCallSite, .VariableCachingCallSite, .XorCallSite, org.jruby.runtime.invokedynamic.MethodNames, org.jruby.util.StringSupport, org.jruby.util.log.Logger, .LoggerFactory

Field Summary

Modifier and TypeField and Description
private static final boolean
public static final int
EQL

Deprecated
public static final Set<String>
public static final int
HASH

Deprecated
private static final Logger
public static final int
MAX_METHODS

Deprecated
public static final Map<String, Set<FrameField>>
public static final Map<String, Set<FrameField>>
public static final String[]
METHOD_NAMES

Deprecated
public static final int
NO_METHOD

Deprecated
public static final int
OP_CMP

Deprecated
public static final int
OP_EQUAL

Deprecated
public static final Set<String>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static void
addAwareness(boolean needsFrame, boolean needsScope, List<String> names)

private static void
addFieldAccesses(Map<String, Set<FrameField>> methodFrameWrites, List<String> names, Set<FrameField> writes)

public static void
addFrameAwareMethods(String... methods)
Deprecated

public static void
public static void
addMethodReadFieldsPacked(int readBits, String methodsPacked)

public static void
public static void
addMethodWriteFieldsPacked(int writeBits, String methodsPacked)

public static void
addScopeAwareMethods(String... methods)
Deprecated

public static CallSite
public static CallSite
public static String
public static CallSite
public static String
public static CallSite
public static CallSite
getProfilingCallSite(CallType callType, String name, IRScope scope, long callsiteId)

public static CallSite
public static CallSite
public static boolean
public static boolean
private static void
processFrameFields(int bits, String methodNames, String usage, Map<String, Set<FrameField>> methodFrameAccesses)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DEBUGback to summary
private static final boolean DEBUG
EQLback to summary
public static final int EQL

Deprecated

Annotations
@Deprecated
FRAME_AWARE_METHODSback to summary
public static final Set<String> FRAME_AWARE_METHODS
HASHback to summary
public static final int HASH

Deprecated

Annotations
@Deprecated
LOGback to summary
private static final Logger LOG
MAX_METHODSback to summary
public static final int MAX_METHODS

Deprecated

Annotations
@Deprecated
METHOD_FRAME_READSback to summary
public static final Map<String, Set<FrameField>> METHOD_FRAME_READS
METHOD_FRAME_WRITESback to summary
public static final Map<String, Set<FrameField>> METHOD_FRAME_WRITES
METHOD_NAMESback to summary
public static final String[] METHOD_NAMES

Deprecated

Annotations
@Deprecated
NO_METHODback to summary
public static final int NO_METHOD

Deprecated

Annotations
@Deprecated
OP_CMPback to summary
public static final int OP_CMP

Deprecated

Annotations
@Deprecated
OP_EQUALback to summary
public static final int OP_EQUAL

Deprecated

Annotations
@Deprecated
SCOPE_AWARE_METHODSback to summary
public static final Set<String> SCOPE_AWARE_METHODS

Constructor Detail

MethodIndexback to summary
public MethodIndex()

Method Detail

addAwarenessback to summary
private static void addAwareness(boolean needsFrame, boolean needsScope, List<String> names)
addFieldAccessesback to summary
private static void addFieldAccesses(Map<String, Set<FrameField>> methodFrameWrites, List<String> names, Set<FrameField> writes)
addFrameAwareMethodsback to summary
public static void addFrameAwareMethods(String... methods)

Deprecated

Annotations
@Deprecated
addMethodReadFieldsback to summary
public static void addMethodReadFields(String name, FrameField... reads)
addMethodReadFieldsPackedback to summary
public static void addMethodReadFieldsPacked(int readBits, String methodsPacked)
addMethodWriteFieldsback to summary
public static void addMethodWriteFields(String name, FrameField... write)
addMethodWriteFieldsPackedback to summary
public static void addMethodWriteFieldsPacked(int writeBits, String methodsPacked)
addScopeAwareMethodsback to summary
public static void addScopeAwareMethods(String... methods)

Deprecated

Annotations
@Deprecated
getCallSiteback to summary
public static CallSite getCallSite(String name)
getFastFixnumOpsCallSiteback to summary
public static CallSite getFastFixnumOpsCallSite(String name)
getFastFixnumOpsMethodback to summary
public static String getFastFixnumOpsMethod(String name)
getFastFloatOpsCallSiteback to summary
public static CallSite getFastFloatOpsCallSite(String name)
getFastFloatOpsMethodback to summary
public static String getFastFloatOpsMethod(String name)
getFunctionalCallSiteback to summary
public static CallSite getFunctionalCallSite(String name)
getProfilingCallSiteback to summary
public static CallSite getProfilingCallSite(CallType callType, String name, IRScope scope, long callsiteId)
getSuperCallSiteback to summary
public static CallSite getSuperCallSite()
getVariableCallSiteback to summary
public static CallSite getVariableCallSite(String name)
hasFastFixnumOpsback to summary
public static boolean hasFastFixnumOps(String name)
hasFastFloatOpsback to summary
public static boolean hasFastFloatOps(String name)
processFrameFieldsback to summary
private static void processFrameFields(int bits, String methodNames, String usage, Map<String, Set<FrameField>> methodFrameAccesses)