sun.jvm.hotspot.runtime
public class: JavaCallWrapper [javadoc |
source]
java.lang.Object
sun.jvm.hotspot.runtime.VMObject
sun.jvm.hotspot.runtime.JavaCallWrapper
Direct Known Subclasses:
AMD64JavaCallWrapper, X86JavaCallWrapper, IA64JavaCallWrapper
A JavaCallWrapper is constructed before each JavaCall and
destroyed after the call. Its purpose is to allocate/deallocate a
new handle block and to save/restore the last Java fp/sp. A
pointer to the JavaCallWrapper is stored on the stack.
NOTE: this port is very minimal and is only designed to get
frame traversal working. FIXME: we will have to add platform-
specific stuff later and therefore a factory for these
objects.
| Field Summary |
|---|
| protected static AddressField | anchorField | |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from sun.jvm.hotspot.runtime.JavaCallWrapper Detail: |
public Address getLastJavaPC() {
return lastJavaPCField.getValue(addr.addOffsetTo(anchorField.getOffset()));
}
|
public Address getLastJavaSP() {
return lastJavaSPField.getValue(addr.addOffsetTo(anchorField.getOffset()));
}
|