APIdia Launch Partner
Top Description Fields Constructors Methods
sun.jvm.hotspot.runtime

public Class JavaCallWrapper

extends VMObject
Class Inheritance
Known Direct Subclasses
sun.jvm.hotspot.runtime.aarch64.AARCH64JavaCallWrapper, sun.jvm.hotspot.runtime.amd64.AMD64JavaCallWrapper, sun.jvm.hotspot.runtime.ppc64.PPC64JavaCallWrapper, sun.jvm.hotspot.runtime.riscv64.RISCV64JavaCallWrapper
Imports
java.util.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.types.*, sun.jvm.hotspot.utilities.Observable, .Observer

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

Modifier and TypeField and Description
protected static AddressField
private static AddressField
private static AddressField
Inherited from sun.jvm.hotspot.runtime.VMObject:
addr

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Address
public Address
private static synchronized void
Inherited from sun.jvm.hotspot.runtime.VMObject:
equalsgetAddresshashCodetoString

Field Detail

anchorFieldback to summary
protected static AddressField anchorField
lastJavaPCFieldback to summary
private static AddressField lastJavaPCField
lastJavaSPFieldback to summary
private static AddressField lastJavaSPField

Constructor Detail

JavaCallWrapperback to summary
public JavaCallWrapper(Address addr)

Method Detail

getLastJavaPCback to summary
public Address getLastJavaPC()
getLastJavaSPback to summary
public Address getLastJavaSP()
initializeback to summary
private static synchronized void initialize(TypeDataBase db)