Is it possible to test for the existence of other references to an object in java?
Even if the operation is inefficient, I would like to assert while debugging that a given object will be garbage collected once a given reference falls out of scope.
Is this possible?
Thanks