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

public Class BasicNarrowOopField

extends BasicOopField
implements NarrowOopField
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.types.NarrowOopField, sun.jvm.hotspot.types.OopField, sun.jvm.hotspot.types.Field
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

Modifier and TypeField and Description
private static final boolean

Constructor Summary

AccessConstructor and Description
public
public
BasicNarrowOopField(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)

Overrides sun.jvm.hotspot.types.basic.BasicOopField.getValue.

Implements sun.jvm.hotspot.types.NarrowOopField.getValue, 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()

Overrides sun.jvm.hotspot.types.basic.BasicOopField.getValue.

Implements sun.jvm.hotspot.types.NarrowOopField.getValue, 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.

Field Detail

DEBUGback to summary
private static final boolean DEBUG

Constructor Detail

BasicNarrowOopFieldback to summary
public BasicNarrowOopField(OopField oopf)
BasicNarrowOopFieldback to summary
public BasicNarrowOopField(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

Overrides sun.jvm.hotspot.types.basic.BasicOopField.getValue.

Implements sun.jvm.hotspot.types.NarrowOopField.getValue, 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

Overrides sun.jvm.hotspot.types.basic.BasicOopField.getValue.

Implements sun.jvm.hotspot.types.NarrowOopField.getValue, 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.