• Post Reply Bookmark Topic Watch Topic
  • New Topic

How does the GC prog identify that the object is not being associated  RSS feed

Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does the GC programs identify a object to be not reffered by any reference.
I am writting a Connection Pooling implementation and I face a similar problem. Once I give a connection how do I come to know whether the user program has chaged the reference from the given connection object. Or if the user program closes the connection object then how do i notify my I ConnectionPool Manager.
In weblogic Connection pooling it gives us an instance of connection object, once we close the Connection object probabaly the weblogic connection pool gets notified and then it reallocates the Connection Object.
Please help me out with some good suggestions.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!