APIdia Launch Partner
Top Fields Constructors Methods
sun.management

public Class MethodInfo

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
sun.management.counter.*

Field Summary

Modifier and TypeField and Description
private int
private String
private static final long
private long

Constructor Summary

AccessConstructor and Description
pack-priv
MethodInfo(String name, long type, int compileSize)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the number of bytes occupied by this compiled method.
getCompileSize
()

Returns the number of bytes occupied by this compiled method.

public String

Returns:

the name of the compiled method.
getName
()

Returns the name of the compiled method.

public long

Returns:

the type of the compiled method.
getType
()

Returns the type of the compiled method such as normal-compile, osr-compile, and native-compile.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

compileSizeback to summary
private int compileSize
nameback to summary
private String name
serialVersionUIDback to summary
private static final long serialVersionUID
typeback to summary
private long type

Constructor Detail

MethodInfoback to summary
pack-priv MethodInfo(String name, long type, int compileSize)

Method Detail

getCompileSizeback to summary
public int getCompileSize()

Returns the number of bytes occupied by this compiled method. This method returns -1 if not available.

Returns:int

the number of bytes occupied by this compiled method.

getNameback to summary
public String getName()

Returns the name of the compiled method.

Returns:String

the name of the compiled method.

getTypeback to summary
public long getType()

Returns the type of the compiled method such as normal-compile, osr-compile, and native-compile.

Returns:long

the type of the compiled method.

toStringback to summary
public 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.