I want to know that how java script object is collected by GC? so I goggled but could not find any satisfied answers. The question is related to GWT code, as we know that gwt compile java code into javascript. so how it will use GC mechanism in it?
Just example : There is four screen on my application like Screen1....3, those screens are set by navigation on main vertical panel, when any screen switch from screen1 to 2 , screen2 to 3 etc. every time It will clear first vertical panel then create new instance of screen and add into main vertical panel. so when clear method called, it will do Garbage collection for added screens as main vertical panel is no longer refer them. I mean those screen does not have any reference of GUI Context.
Thanks & regards,
Bhumika