class JITCompiler
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
private static class |
JITCompiler.HandleRef |
private static class |
JITCompiler.SingletonHolder |
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.Class<? extends NativeInvoker>,JITHandle> |
classes |
private JITHandle |
failedHandle |
private java.util.Map<JITSignature,JITCompiler.HandleRef> |
handles |
private java.lang.ref.ReferenceQueue |
referenceQueue |
| Constructor and Description |
|---|
JITCompiler() |
| Modifier and Type | Method and Description |
|---|---|
private void |
cleanup() |
(package private) JITHandle |
getHandle(Signature signature,
boolean unique) |
static JITCompiler |
getInstance() |
(package private) void |
registerClass(JITHandle handle,
java.lang.Class<? extends NativeInvoker> klass) |
private final java.util.Map<JITSignature,JITCompiler.HandleRef> handles
private final java.util.Map<java.lang.Class<? extends NativeInvoker>,JITHandle> classes
private final java.lang.ref.ReferenceQueue referenceQueue
private final JITHandle failedHandle
public static JITCompiler getInstance()
private void cleanup()
void registerClass(JITHandle handle, java.lang.Class<? extends NativeInvoker> klass)