Save This Page
Home » openjdk-7 » sun.jvm » hotspot » runtime » [javadoc | source]
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     
Fields inherited from sun.jvm.hotspot.runtime.VMObject:
addr
Constructor:
 public JavaCallWrapper(Address addr) 
Method from sun.jvm.hotspot.runtime.JavaCallWrapper Summary:
getLastJavaPC,   getLastJavaSP
Methods from sun.jvm.hotspot.runtime.VMObject:
equals,   getAddress,   hashCode,   toString
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() 
 public Address getLastJavaSP()