public class LIRNativeImageCodeCache extends NativeImageCodeCache
NativeImageCodeCache.Optionscompilations, compilationsByStart, targetPlatform| Constructor and Description |
|---|
LIRNativeImageCodeCache(Map<HostedMethod,org.graalvm.compiler.code.CompilationResult> compilations,
NativeImageHeap imageHeap) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getCCInputFiles(Path tempDirectory,
String imageName) |
int |
getCodeCacheSize() |
NativeBootImage.NativeTextSectionImpl |
getTextSectionImpl(RelocatableBuffer buffer,
com.oracle.objectfile.ObjectFile objectFile,
NativeImageCodeCache codeCache) |
void |
layoutMethods(org.graalvm.compiler.debug.DebugContext debug,
String imageName) |
void |
patchMethods(org.graalvm.compiler.debug.DebugContext debug,
RelocatableBuffer relocs,
com.oracle.objectfile.ObjectFile objectFile)
Patch references from code to other code and constant data.
|
void |
writeCode(RelocatableBuffer buffer) |
addConstantsToHeap, buildRuntimeMetadata, getAlignedConstantsSize, getCompilationAtOffset, getCompilations, getConstantsSize, getFirstCompilation, layoutConstants, printCompilationResults, writeConstantspublic LIRNativeImageCodeCache(Map<HostedMethod,org.graalvm.compiler.code.CompilationResult> compilations, NativeImageHeap imageHeap)
public int getCodeCacheSize()
getCodeCacheSize in class NativeImageCodeCachepublic void layoutMethods(org.graalvm.compiler.debug.DebugContext debug,
String imageName)
layoutMethods in class NativeImageCodeCachepublic void patchMethods(org.graalvm.compiler.debug.DebugContext debug,
RelocatableBuffer relocs,
com.oracle.objectfile.ObjectFile objectFile)
patchMethods in class NativeImageCodeCacherelocs - a relocation mappublic void writeCode(RelocatableBuffer buffer)
writeCode in class NativeImageCodeCachepublic NativeBootImage.NativeTextSectionImpl getTextSectionImpl(RelocatableBuffer buffer, com.oracle.objectfile.ObjectFile objectFile, NativeImageCodeCache codeCache)
getTextSectionImpl in class NativeImageCodeCachepublic String[] getCCInputFiles(Path tempDirectory, String imageName)
getCCInputFiles in class NativeImageCodeCache