title: Number of references to the Java object
body: <p>Is there some way to check number of references to the Java object?</p>
  
  <p>Let myObject be a reference to an object and the object has already done it's work. I prepare it to die in a disposing method and am going to use the reference myObject for some other purposes, so garbage collector is welcome to kill it. But I'm not sure that there are no other references to the object. How to check it?</p>