Home
last modified time | relevance | path

Searched refs:MyPhantomReference (Results 1 – 1 of 1) sorted by relevance

/art/test/2042-reference-processing/src/
DMain.java68 ConcurrentHashMap<Integer, MyPhantomReference> phantomRefs = new ConcurrentHashMap<>();
95 class MyPhantomReference extends PhantomReference<FinalizableObject> { class in Main
97 MyPhantomReference(FinalizableObject obj) { in MyPhantomReference() method in Main.MyPhantomReference
103 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()