public class HotSpotDisassemblerProvider extends Object implements DisassemblerProvider
DisassemblerProvider
.Constructor and Description |
---|
HotSpotDisassemblerProvider() |
Modifier and Type | Method and Description |
---|---|
String |
disassembleCompiledCode(CodeCacheProvider codeCache,
CompilationResult compResult)
Gets a textual disassembly of a given compilation result.
|
String |
disassembleInstalledCode(CodeCacheProvider codeCache,
CompilationResult compResult,
InstalledCode code)
Gets a textual disassembly of a given installed code.
|
String |
getName()
Gets the name denoting the format of the disassmembly return by this object.
|
public HotSpotDisassemblerProvider()
public String disassembleCompiledCode(CodeCacheProvider codeCache, CompilationResult compResult)
DisassemblerProvider
disassembleCompiledCode
in interface DisassemblerProvider
codeCache
- the object used for code code
installation
compResult
- a compilation resultcompResult
or null it
could not be disassembledpublic String disassembleInstalledCode(CodeCacheProvider codeCache, CompilationResult compResult, InstalledCode code)
DisassemblerProvider
disassembleInstalledCode
in interface DisassemblerProvider
codeCache
- the object used for code code
installation
compResult
- a compiled code that was installed to produce installedCode
. This
will be null if not available.code
or null if
code
is invalid
or it could not be
disassembled for some other reasonpublic String getName()
DisassemblerProvider
getName
in interface DisassemblerProvider