private static class Pointer.DeallocatorReference extends PhantomReference<Pointer>
PhantomReference that also acts as a linked
list to keep their references alive until they get garbage collected.| Modifier and Type | Field and Description |
|---|---|
(package private) Pointer.Deallocator |
deallocator |
(package private) static Pointer.DeallocatorReference |
head |
(package private) Pointer.DeallocatorReference |
next |
(package private) Pointer.DeallocatorReference |
prev |
| Constructor and Description |
|---|
Pointer.DeallocatorReference(Pointer p,
Pointer.Deallocator deallocator) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
add() |
void |
clear() |
(package private) void |
remove() |
getenqueue, isEnqueuedstatic Pointer.DeallocatorReference head
Pointer.DeallocatorReference prev
Pointer.DeallocatorReference next
Pointer.Deallocator deallocator
Pointer.DeallocatorReference(Pointer p, Pointer.Deallocator deallocator)
Copyright © 2014. All Rights Reserved.