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 classAbstractA64StubCompiler.PageHolderprivate static classAbstractA64StubCompiler.StaticDataHolder(package private) static classAbstractA64StubCompiler.Stub-
Nested classes/interfaces inherited from class jnr.ffi.provider.jffi.StubCompiler
StubCompiler.DummyStubCompiler
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEBUG(package private) static java.util.concurrent.atomic.AtomicIntegerFieldUpdater<AbstractA64StubCompiler.PageHolder>PAGE_HOLDER_UPDATERprivate Runtimeruntime(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 protectedAbstractA64StubCompiler(Runtime runtime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static intalign(int offset, int align)(package private) static longalign(long offset, long align)(package private) voidattach(java.lang.Class clazz)RuntimegetRuntime()-
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:
attachin classStubCompiler
-
align
static int align(int offset, int align)
-
align
static long align(long offset, long align)
-
-