org.jikesrvm.adaptive.util
Class UnResolvedCallSite
java.lang.Object
org.jikesrvm.adaptive.util.UnResolvedCallSite
public final class UnResolvedCallSite
- extends Object
A unresolved call site is a pair:
methodRef
private final MethodReference methodRef
- Caller method
bcIndex
private final int bcIndex
- bytecode index of callsite in caller method
UnResolvedCallSite
public UnResolvedCallSite(MethodReference m,
int bci)
- Parameters:
m - the MethodReference containing the callsitebci - the bytecode index of the callsite within m
getMethodRef
public MethodReference getMethodRef()
- Returns:
- method containing the callsite
getBytecodeIndex
public int getBytecodeIndex()
- Returns:
- call site's bytecode index in its method
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- string representation of call site
equals
public boolean equals(Object obj)
- Determine if two call sites are the same. Exact match: no wild cards.
- Overrides:
equals in class Object
- Parameters:
obj - call site to compare to
- Returns:
- true if call sites are the same; otherwise, return false
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- Returns:
- hash code