void () { while (true) { PointerReference reference = (PointerReference)ourQueue.poll(); if (reference == null) break; if (reference.get() != null) { throw new IllegalStateException("Queued reference has referent!"); } reference.tracker.removeReference(reference); } }