• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Garbage Collection

 
Kaustubh Bansal
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible for an unreferenced object to be in use?



In this code, we are adding a button to a content pane to a frame. Is this content pane eligible for garbage collection?
 
Daesung Park
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The content pane is not garbage-collected as long as frame is a live object.
 
Campbell Ritchie
Sheriff
Pie
Posts: 49472
64
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kaustubh Bansal wrote:Is it possible for an unreferenced object to be in use?
Read your question very very carefully . . .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic