public class NMethod extends CodeBlob
Modifier and Type | Method and Description |
---|---|
boolean |
canBeDeoptimized()
Tells whether frames described by this nmethod can be
deoptimized.
|
Address |
constantsBegin()
Boundaries for different parts
|
boolean |
constantsContains(Address addr) |
Address |
constantsEnd() |
int |
constantsSize() |
Address |
deoptHandlerBegin() |
Address |
deoptMhHandlerBegin() |
Address |
dependenciesBegin() |
Address |
dependenciesEnd() |
int |
dependenciesSize() |
void |
dumpReplayData(java.io.PrintStream out) |
Address |
exceptionBegin() |
java.lang.String |
flagsToString() |
Address |
getAddress() |
static int |
getEntryBCIOffset() |
Address |
getEntryPoint()
Entry points
|
static int |
getEntryPointOffset()
Support for code generation.
|
Address |
getMetadataAt(int index)
Support for metadata in scopes and relocs.
|
int |
getMetadataLength() |
Method |
getMethod() |
Method |
getMethodAt(int index) |
static int |
getMethodOffset()
NOTE: renamed from "method_offset_in_bytes"
|
java.lang.String |
getName() |
OopHandle |
getOopAt(int index)
Support for oops in scopes and relocs.
|
int |
getOopsLength() |
int |
getOSREntryBCI()
On-stack replacement support
|
static int |
getOSREntryPointOffset() |
NMethod |
getOSRLink() |
PCDesc |
getPCDescAt(Address pc)
Finds a PCDesc with real-pc equal to "pc"
|
PCDesc |
getPCDescNearDbg(Address pc)
This is only for use by the debugging system, and is only
intended for use in the topmost frame, where we are not
guaranteed to be at a PC for which we have a PCDesc.
|
java.util.Map |
getSafepoints() |
NMethod |
getScavengeRootLink() |
int |
getScavengeRootState() |
ScopeDesc |
getScopeDescAt(Address pc)
ScopeDesc for an instruction
|
ScopeDesc |
getScopeDescNearDbg(Address pc)
This is only for use by the debugging system, and is only
intended for use in the topmost frame, where we are not
guaranteed to be at a PC for which we have a PCDesc.
|
Address |
getVerifiedEntryPoint() |
static int |
getVerifiedEntryPointOffset() |
Address |
handlerTableBegin() |
boolean |
handlerTableContains(Address addr) |
Address |
handlerTableEnd() |
int |
handlerTableSize() |
Address |
instsBegin() |
boolean |
instsContains(Address addr) |
Address |
instsEnd() |
int |
instsSize() |
boolean |
isDeoptEntry(Address pc) |
boolean |
isDeoptMhEntry(Address pc) |
boolean |
isDeoptPc(Address pc) |
boolean |
isJavaMethod() |
boolean |
isLockedByVM() |
boolean |
isMethodHandleReturn(Address returnPc) |
boolean |
isNativeMethod() |
boolean |
isNMethod() |
boolean |
isOSRMethod()
On-Stack Replacement method
|
boolean |
isZombie() |
Address |
metadataBegin() |
boolean |
metadataContains(Address addr) |
Address |
metadataEnd() |
int |
metadataSize() |
Address |
nulChkTableBegin() |
boolean |
nulChkTableContains(Address addr) |
Address |
nulChkTableEnd() |
int |
nulChkTableSize() |
Address |
oopsBegin() |
boolean |
oopsContains(Address addr) |
Address |
oopsEnd() |
int |
oopsSize() |
int |
origPCOffset() |
void |
print() |
protected void |
printComponentsOn(java.io.PrintStream tty) |
ScopeDesc |
scope_desc_in(long begin,
long end) |
Address |
scopesDataBegin() |
boolean |
scopesDataContains(Address addr) |
Address |
scopesDataEnd() |
int |
scopesDataSize() |
Address |
scopesPCsBegin() |
boolean |
scopesPCsContains(Address addr) |
Address |
scopesPCsEnd() |
int |
scopesPCsSize() |
Address |
stubBegin() |
boolean |
stubContains(Address addr) |
Address |
stubEnd() |
int |
stubSize() |
java.lang.String |
toString() |
int |
totalSize() |
asNMethodOrNull, blobContains, callerMustGCArguments, codeBegin, codeContains, codeEnd, contains, contentBegin, contentContains, contentEnd, dataBegin, dataContains, dataEnd, getCodeOffset, getCodeSize, getContentOffset, getContentSize, getDataOffset, getDataSize, getFrameSize, getHeaderSize, getOopMapForReturnAddress, getOopMaps, getRelocationOffset, getSize, headerBegin, headerEnd, isAdapterBlob, isBufferBlob, isDeoptimizationStub, isExceptionStub, isFrameCompleteAt, isRuntimeStub, isSafepointStub, isUncommonTrapStub, printOn
public NMethod(Address addr)
public Address getAddress()
getAddress
in class VMObject
public Method getMethod()
public boolean isJavaMethod()
isJavaMethod
in class CodeBlob
public boolean isNativeMethod()
isNativeMethod
in class CodeBlob
public boolean isOSRMethod()
CodeBlob
isOSRMethod
in class CodeBlob
public Address constantsBegin()
public Address constantsEnd()
public Address instsBegin()
public Address instsEnd()
public Address exceptionBegin()
public Address deoptHandlerBegin()
public Address deoptMhHandlerBegin()
public Address stubBegin()
public Address stubEnd()
public Address oopsBegin()
public Address oopsEnd()
public Address metadataBegin()
public Address metadataEnd()
public Address scopesDataBegin()
public Address scopesDataEnd()
public Address scopesPCsBegin()
public Address scopesPCsEnd()
public Address dependenciesBegin()
public Address dependenciesEnd()
public Address handlerTableBegin()
public Address handlerTableEnd()
public Address nulChkTableBegin()
public Address nulChkTableEnd()
public int constantsSize()
public int instsSize()
public int stubSize()
public int oopsSize()
public int metadataSize()
public int scopesDataSize()
public int scopesPCsSize()
public int dependenciesSize()
public int handlerTableSize()
public int nulChkTableSize()
public int origPCOffset()
public int totalSize()
public boolean constantsContains(Address addr)
public boolean instsContains(Address addr)
public boolean stubContains(Address addr)
public boolean oopsContains(Address addr)
public boolean metadataContains(Address addr)
public boolean scopesDataContains(Address addr)
public boolean scopesPCsContains(Address addr)
public boolean handlerTableContains(Address addr)
public boolean nulChkTableContains(Address addr)
public int getOopsLength()
public int getMetadataLength()
public Address getEntryPoint()
public Address getVerifiedEntryPoint()
public OopHandle getOopAt(int index)
public Address getMetadataAt(int index)
public Method getMethodAt(int index)
public int getOSREntryBCI()
public NMethod getOSRLink()
public NMethod getScavengeRootLink()
public int getScavengeRootState()
public boolean isMethodHandleReturn(Address returnPc)
public boolean isDeoptPc(Address pc)
public boolean isDeoptEntry(Address pc)
public boolean isDeoptMhEntry(Address pc)
public boolean canBeDeoptimized()
public boolean isLockedByVM()
isLockedByVM
in class CodeBlob
public PCDesc getPCDescNearDbg(Address pc)
public ScopeDesc scope_desc_in(long begin, long end)
public ScopeDesc getScopeDescNearDbg(Address pc)
public java.util.Map getSafepoints()
public static int getEntryPointOffset()
public static int getVerifiedEntryPointOffset()
public static int getOSREntryPointOffset()
public static int getEntryBCIOffset()
public static int getMethodOffset()
protected void printComponentsOn(java.io.PrintStream tty)
printComponentsOn
in class CodeBlob
public java.lang.String flagsToString()
public void dumpReplayData(java.io.PrintStream out)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.