Package org.jruby.runtime
Class MethodIndex
java.lang.Object
org.jruby.runtime.MethodIndex
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final booleanstatic final intDeprecated.static final intDeprecated.private static final Loggerstatic final intDeprecated.static final Map<String,Set<FrameField>> static final Map<String,Set<FrameField>> static final String[]Deprecated.static final intDeprecated.static final intDeprecated.static final intDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidaddAwareness(boolean needsFrame, boolean needsScope, List<String> names) private static voidaddFieldAccesses(Map<String, Set<FrameField>> methodFrameWrites, List<String> names, Set<FrameField> writes) static voidaddFrameAwareMethods(String... methods) Deprecated.static voidaddMethodReadFields(String name, FrameField... reads) static voidaddMethodReadFieldsPacked(int readBits, String methodsPacked) static voidaddMethodWriteFields(String name, FrameField... write) static voidaddMethodWriteFieldsPacked(int writeBits, String methodsPacked) static voidaddScopeAwareMethods(String... methods) Deprecated.static CallSitegetCallSite(String name) static CallSitestatic StringgetFastFixnumOpsMethod(String name) static CallSitestatic StringgetFastFloatOpsMethod(String name) static CallSitegetFunctionalCallSite(String name) static CallSitegetProfilingCallSite(CallType callType, String name, IRScope scope, long callsiteId) static CallSitestatic CallSitegetVariableCallSite(String name) static booleanhasFastFixnumOps(String name) static booleanhasFastFloatOps(String name) private static voidprocessFrameFields(int bits, String methodNames, String usage, Map<String, Set<FrameField>> methodFrameAccesses)
-
Field Details
-
DEBUG
private static final boolean DEBUG- See Also:
-
LOG
-
NO_METHOD
Deprecated. -
OP_EQUAL
Deprecated. -
EQL
Deprecated. -
HASH
Deprecated. -
OP_CMP
Deprecated. -
MAX_METHODS
Deprecated. -
METHOD_NAMES
Deprecated. -
FRAME_AWARE_METHODS
-
SCOPE_AWARE_METHODS
-
METHOD_FRAME_READS
-
METHOD_FRAME_WRITES
-
-
Constructor Details
-
MethodIndex
public MethodIndex()
-
-
Method Details
-
getCallSite
-
getProfilingCallSite
-
hasFastFixnumOps
-
getFastFixnumOpsMethod
-
getFastFixnumOpsCallSite
-
hasFastFloatOps
-
getFastFloatOpsMethod
-
getFastFloatOpsCallSite
-
getFunctionalCallSite
-
getVariableCallSite
-
getSuperCallSite
-
addMethodReadFieldsPacked
-
addMethodWriteFieldsPacked
-
processFrameFields
-
addFieldAccesses
private static void addFieldAccesses(Map<String, Set<FrameField>> methodFrameWrites, List<String> names, Set<FrameField> writes) -
addAwareness
-
addMethodReadFields
-
addMethodWriteFields
-
addFrameAwareMethods
Deprecated. -
addScopeAwareMethods
Deprecated.
-