public interface HostedPatcher
Modifier and Type | Method and Description |
---|---|
void |
patch(int compStart,
int relative,
byte[] code)
Patch the code buffer.
|
void |
relocate(jdk.vm.ci.code.site.Reference ref,
RelocatableBuffer relocs,
int compStart)
Create relocation for the binary file.
|
void relocate(jdk.vm.ci.code.site.Reference ref, RelocatableBuffer relocs, int compStart)
ref
- value instruction sequence should refer torelocs
- buffer of added relocation site informationcompStart
- codecache-relative starting position this method's machine codevoid patch(int compStart, int relative, byte[] code)
compStart
- codecache-relative starting position this method's machine coderelative
- pc-relative offsetcode
- machine code generated for this method