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

public Class BasicOopField

extends BasicField
implements OopField
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.types.OopField, sun.jvm.hotspot.types.Field
Known Direct Subclasses
sun.jvm.hotspot.types.basic.BasicNarrowOopField
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.types.*

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

Field Summary

Inherited from sun.jvm.hotspot.types.basic.BasicField:
dbtype

Constructor Summary

AccessConstructor and Description
public
public
BasicOopField(BasicTypeDataBase db, Type containingType, String name, Type type, boolean isStatic, long offset, Address staticFieldAddress)

Method Summary

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

Implements sun.jvm.hotspot.types.OopField.getValue.

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

public OopHandle
getValue()

Implements sun.jvm.hotspot.types.OopField.getValue.

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

Inherited from sun.jvm.hotspot.types.basic.BasicField:
getAddressgetAddressgetCIntegergetCIntegergetJBooleangetJBooleangetJBytegetJBytegetJChargetJChargetJDoublegetJDoublegetJFloatgetJFloatgetJIntgetJIntgetJLonggetJLonggetJShortgetJShortgetNamegetNarrowOopHandlegetNarrowOopHandlegetOffsetgetOopHandlegetOopHandlegetSizegetStaticFieldAddressgetTypeisStatic

Constructor Detail

BasicOopFieldback to summary
public BasicOopField(OopField oopf)
BasicOopFieldback to summary
public BasicOopField(BasicTypeDataBase db, Type containingType, String name, Type type, boolean isStatic, long offset, Address staticFieldAddress)

Method Detail

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

Implements sun.jvm.hotspot.types.OopField.getValue.

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

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

Implements sun.jvm.hotspot.types.OopField.getValue.

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