This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • 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.
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!