Package jnr.ffi.provider.jffi
Class AbstractA64StubCompiler
- java.lang.Object
-
- jnr.ffi.provider.jffi.StubCompiler
-
- jnr.ffi.provider.jffi.AbstractA64StubCompiler
-
- Direct Known Subclasses:
ARM_64StubCompiler
abstract class AbstractA64StubCompiler extends StubCompiler
Base class for most X86_32/X86_64 stub compilers
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
AbstractA64StubCompiler.PageHolder
private static class
AbstractA64StubCompiler.StaticDataHolder
(package private) static class
AbstractA64StubCompiler.Stub
-
Nested classes/interfaces inherited from class jnr.ffi.provider.jffi.StubCompiler
StubCompiler.DummyStubCompiler
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEBUG
(package private) static java.util.concurrent.atomic.AtomicIntegerFieldUpdater<AbstractA64StubCompiler.PageHolder>
PAGE_HOLDER_UPDATER
private Runtime
runtime
(package private) java.util.List<AbstractA64StubCompiler.Stub>
stubs_A64
-
Fields inherited from class jnr.ffi.provider.jffi.StubCompiler
errnoFunctionAddress, hasAssembler, hasPageManager
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractA64StubCompiler(Runtime runtime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static int
align(int offset, int align)
(package private) static long
align(long offset, long align)
(package private) void
attach(java.lang.Class clazz)
Runtime
getRuntime()
-
Methods inherited from class jnr.ffi.provider.jffi.StubCompiler
canCompile, compile, newCompiler
-
-
-
-
Field Detail
-
DEBUG
public static final boolean DEBUG
-
runtime
private final Runtime runtime
-
stubs_A64
final java.util.List<AbstractA64StubCompiler.Stub> stubs_A64
-
PAGE_HOLDER_UPDATER
static final java.util.concurrent.atomic.AtomicIntegerFieldUpdater<AbstractA64StubCompiler.PageHolder> PAGE_HOLDER_UPDATER
-
-
Constructor Detail
-
AbstractA64StubCompiler
protected AbstractA64StubCompiler(Runtime runtime)
-
-
Method Detail
-
getRuntime
public final Runtime getRuntime()
-
attach
void attach(java.lang.Class clazz)
- Specified by:
attach
in classStubCompiler
-
align
static int align(int offset, int align)
-
align
static long align(long offset, long align)
-
-