Top Description Fields Constructors Methods
jdk.vm.ci.hotspot

public abstract Class HotSpotInstalledCode

extends InstalledCode
Class Inheritance
Known Direct Subclasses
jdk.vm.ci.hotspot.HotSpotNmethod, jdk.vm.ci.hotspot.HotSpotRuntimeStub
Static Imports
jdk.vm.ci.hotspot.CompilerToVM.compilerToVM

Implementation of InstalledCode for HotSpot representing a CodeBlob. The address of the CodeBlob is stored in InstalledCode#address.

Field Summary

Modifier and TypeField and Description
private int
codeSize

Size of the code (i.e. CodeBlob::code_size()).

private long
codeStart

Start address of the code (i.e. CodeBlob::code_begin()).

private int
size

Total size of the code blob (i.e. CodeBlob::size()).

Inherited from jdk.vm.ci.code.InstalledCode:
addressentryPointnameversion

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte[]
getCode()

Overrides jdk.vm.ci.code.InstalledCode.getCode.

Returns a copy of this installed code if it is valid, null otherwise.

public long
getCodeSize()

Gets the value of CodeBlob::code_size() if valid, 0 otherwise.

public int
getSize()

Gets the value of CodeBlob::size().

public long
getStart()

Overrides jdk.vm.ci.code.InstalledCode.getStart.

Gets the value of CodeBlob::code_begin() if valid, 0 otherwise.

public abstract String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from jdk.vm.ci.code.InstalledCode:
executeVarargsgetAddressgetEntryPointgetNamegetVersioninvalidateinvalidateisAliveisValid

Field Detail

codeSizeback to summary
private int codeSize

Size of the code (i.e. CodeBlob::code_size()).

Annotations
@SuppressFBWarnings:UWF_UNWRITTEN_FIELD
justification:field is set by the native part
codeStartback to summary
private long codeStart

Start address of the code (i.e. CodeBlob::code_begin()).

Annotations
@SuppressFBWarnings:UWF_UNWRITTEN_FIELD
justification:field is set by the native part
sizeback to summary
private int size

Total size of the code blob (i.e. CodeBlob::size()).

Annotations
@SuppressFBWarnings:UWF_UNWRITTEN_FIELD
justification:field is set by the native part

Constructor Detail

HotSpotInstalledCodeback to summary
public HotSpotInstalledCode(String name)

Method Detail

getCodeback to summary
public byte[] getCode()

Overrides jdk.vm.ci.code.InstalledCode.getCode.

Doc from jdk.vm.ci.code.InstalledCode.getCode.

Returns a copy of this installed code if it is valid, null otherwise.

Annotations
@Override
getCodeSizeback to summary
public long getCodeSize()

Gets the value of CodeBlob::code_size() if valid, 0 otherwise.

getSizeback to summary
public int getSize()

Gets the value of CodeBlob::size().

getStartback to summary
public long getStart()

Overrides jdk.vm.ci.code.InstalledCode.getStart.

Gets the value of CodeBlob::code_begin() if valid, 0 otherwise.

Annotations
@Override
toStringback to summary
public abstract String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override