Local gc occurs on the machine that the app is invoked on by the JVM. Remote Garbage Collection is used in a distributed set up (RMI) to clean up objects on the remote machine. The RMI runtime takes care of this.
"JavaRanch, where the deer and the Certified play" - David O'Meara
I've got no option but to sell you all for scientific experiments. Or a tiny ad:
Learn to write code others love to read, one example at a time!