Hi Guys & Gals,
My manager the other day said to me that Java as a language
is more suited for small to mid size applications when taking
into concern Javas approach towards garbage collection.
He noted that Java basically holds a heap of objects used and
when that heap has reached its max size the thread starts to
inspect each individual object w/i the heap to see if it
should be discarded. Being this, he says that due to the time
it would take to scan through larger sized heaps, itsbetter
for smaller or mid-sized apps.
I knew I couldnt reply by askin him to forcefully start the
garbage collection thread n times, since this is unreliable.
So, what are some other alternatives. Ive heard mumblings of
"finalize", and others have mentioned something called
"weak reference". Could someone possibly help me here. I have
done a good amount of research and Id like to be able to
reply him constructively ya know?
Thanks