Sigfred Zamo<br />Software Development<p><a href="http://www.sigfredo.ingenieros.net/index2.html" target="_blank" rel="nofollow">My page</a>
By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
Sigfred Zamo<br />Software Development<p><a href="http://www.sigfredo.ingenieros.net/index2.html" target="_blank" rel="nofollow">My page</a>
Sigfred Zamo<br />Software Development<p><a href="http://www.sigfredo.ingenieros.net/index2.html" target="_blank" rel="nofollow">My page</a>
Sigfred Zamo<br />Software Development<p><a href="http://www.sigfredo.ingenieros.net/index2.html" target="_blank" rel="nofollow">My page</a>
"JavaRanch, where the deer and the Certified play" - David O'Meara
Sigfred Zamo<br />Software Development<p><a href="http://www.sigfredo.ingenieros.net/index2.html" target="_blank" rel="nofollow">My page</a>
as my friend likes to put it?
it's not calling the garbage collection explicitly per se...
it's suggesting to the system to garbage collect. it doesn't do it "on
command". but i just sticks it in a "asap" queue... it's kinda weird.
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Originally posted by Cindy Glass:
point is a variable - it will NEVER be garbage collected the way that you are meaning........
"JavaRanch, where the deer and the Certified play" - David O'Meara
Originally posted by Cindy Glass:
Objects are areas of memory on the heap
Originally posted by Cindy Glass:
You have to make sure that you understand the difference between a variable that references an object and the object itself.
Variables live in the stack.
Originally posted by Cindy Glass:
Variables are not garbage collected they are destroyed by the JVM when they go out of scope.
Warning! Way too comfortable! Do not sit! Try reading this tiny ad instead:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|