I'm no expert in writing Garbage collectors....

but from everywhere I have read... they all say this:

Don't try to outguess the compiler AND Don't try to outguess the garbage collector.

Basically, YOU don't have to do anything to reclaim the RAM, let the GC worry about it. When the system needs it, it will get it.