Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find out number of references on an object

 
Muhammad Sarwar
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any way to find out the number of refeences on an object in Java
 
karl koch
Ranch Hand
Posts: 388
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
no, you cant (as far as i know).
(you can find out when an object is not referenced anymore trough the reference api (java.lang.ref).)


k
[ May 23, 2003: Message edited by: karl koch ]
[ May 23, 2003: Message edited by: karl koch ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic