| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private final CallContext | |
| private final NativeClosureProxy. | |
| private final ConcurrentMap | |
| private ClosureMagazine | |
| private final ConcurrentLinkedQueue | |
| private final Runtime |
| Access | Constructor and Description |
|---|---|
| protected | NativeClosureFactory(Runtime runtime, CallContext callContext, NativeClosureProxy.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv NativeClosurePointer | |
| private void | |
| pack-priv NativeClosureFactory | |
| pack-priv NativeClosurePointer | |
| pack-priv static <T> NativeClosureFactory | newClosureFactory(Runtime runtime, Class<T> closureClass, SignatureTypeMapper typeMapper, AsmClassLoader classLoader)
|
| pack-priv NativeClosureFactory | |
| private void |
| callContext | back to summary |
|---|---|
| private final CallContext callContext | |
| closureProxyFactory | back to summary |
|---|---|
| private final NativeClosureProxy. | |
| closures | back to summary |
|---|---|
| private final ConcurrentMap<Integer, NativeClosureFactory<T>. | |
| currentMagazine | back to summary |
|---|---|
| private ClosureMagazine currentMagazine | |
| freeQueue | back to summary |
|---|---|
| private final ConcurrentLinkedQueue<NativeClosurePointer> freeQueue | |
| runtime | back to summary |
|---|---|
| private final Runtime runtime | |
| NativeClosureFactory | back to summary |
|---|---|
| protected NativeClosureFactory(Runtime runtime, CallContext callContext, NativeClosureProxy. | |
| allocateClosurePointer | back to summary |
|---|---|
| pack-priv NativeClosurePointer allocateClosurePointer() | |
| expunge | back to summary |
|---|---|
| private void expunge(NativeClosureFactory<T>. | |
| getClosureReference | back to summary |
|---|---|
| pack-priv NativeClosureFactory | |
| newClosure | back to summary |
|---|---|
| pack-priv NativeClosurePointer newClosure(Object callable, Integer key) | |
| newClosureFactory | back to summary |
|---|---|
| pack-priv static <T> NativeClosureFactory | |
| newClosureReference | back to summary |
|---|---|
| pack-priv NativeClosureFactory | |
| recycle | back to summary |
|---|---|
| private void recycle(NativeClosurePointer ptr) | |
| Modifier and Type | Field and Description |
|---|---|
| private final NativeClosureFactory | |
| private final Integer | |
| pack-priv volatile NativeClosureFactory | |
| private final NativeClosurePointer |
| Access | Constructor and Description |
|---|---|
| private | ClosureReference(Object referent, Integer key, NativeClosureFactory<T> factory, NativeClosurePointer pointer)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | finalizeReferent()
Implements jnr. |
| pack-priv Object | |
| pack-priv Pointer |
| factory | back to summary |
|---|---|
| private final NativeClosureFactory<T> factory | |
| key | back to summary |
|---|---|
| private final Integer key | |
| next | back to summary |
|---|---|
| pack-priv volatile NativeClosureFactory<T>. Hides java. | |
| pointer | back to summary |
|---|---|
| private final NativeClosurePointer pointer | |
| ClosureReference | back to summary |
|---|---|
| private ClosureReference(Object referent, Integer key, NativeClosureFactory<T> factory, NativeClosurePointer pointer) | |
| finalizeReferent | back to summary |
|---|---|
| public void finalizeReferent() Implements jnr. Doc from jnr. Invoked on a background thread after the referent has been garbage collected unless security restrictions prevented starting a background thread, in which case this method is invoked when new references are created. | |
| getCallable | back to summary |
|---|---|
| pack-priv Object getCallable() | |
| getPointer | back to summary |
|---|---|
| pack-priv Pointer getPointer() | |