Searched refs:MyPhantomReference (Results 1 – 1 of 1) sorted by relevance
68 ConcurrentHashMap<Integer, MyPhantomReference> phantomRefs = new ConcurrentHashMap<>();95 class MyPhantomReference extends PhantomReference<FinalizableObject> { class in Main97 MyPhantomReference(FinalizableObject obj) { in MyPhantomReference() method in Main.MyPhantomReference103 MyPhantomReference ref = phantomRefs.get(n); in inPhantomRefs()175 } else if (ref instanceof MyPhantomReference) { in emptyAndCheckQueues()176 MyPhantomReference pr = (MyPhantomReference) ref; in emptyAndCheckQueues()197 phantomRefs.put(me, new MyPhantomReference(listHead)); in addObjects()272 for (MyPhantomReference pr : phantomRefs.values()) { in testLoop()