APIdia Launch Partner
Top Description Methods
sun.jvm.hotspot.types

public Interface OopField

extends Field
Known Direct Subinterfaces
sun.jvm.hotspot.types.NarrowOopField
Known Direct Implementers
sun.jvm.hotspot.types.basic.BasicOopField
Imports
sun.jvm.hotspot.debugger.*

A specialization of Field which represents a field containing an oop value and which adds typechecked getValue() routines returning OopHandles.

Method Summary

Modifier and TypeMethod and Description
public OopHandle
getValue(Address addr)

The field must be nonstatic and the type of the field must be an oop type, or a WrongTypeException will be thrown.

public OopHandle
getValue()

The field must be static and the type of the field must be an oop type, or a WrongTypeException will be thrown.

Inherited from sun.jvm.hotspot.types.Field:
getAddressgetAddressgetCIntegergetCIntegergetJBooleangetJBooleangetJBytegetJBytegetJChargetJChargetJDoublegetJDoublegetJFloatgetJFloatgetJIntgetJIntgetJLonggetJLonggetJShortgetJShortgetNamegetNarrowOopHandlegetNarrowOopHandlegetOffsetgetOopHandlegetOopHandlegetSizegetStaticFieldAddressgetTypeisStatic

Method Detail

getValueback to summary
public OopHandle getValue(Address addr) throws UnmappedAddressException, UnalignedAddressException, WrongTypeException

The field must be nonstatic and the type of the field must be an oop type, or a WrongTypeException will be thrown.

getValueback to summary
public OopHandle getValue() throws UnmappedAddressException, UnalignedAddressException, WrongTypeException

The field must be static and the type of the field must be an oop type, or a WrongTypeException will be thrown.