The link is good and is discussing about how Garbage collector marks the objects that are not reachable.
But I am not able to find whether Garbage collection is platform dependent or not?
From the first link, paragraph A.1: the JVM is responsible for freeing unused memory.
So, depending on what you intend by your question, GC both is and is not platform dependent. JVMs are unique to particular platforms (i.e., a Mac JVM is for Mac, *nix for *nix, etc.), however the whole concept of a VM for Java supports platform independence.
I guess Java as a whole is Platform-Independent. It achieves this independency through JVMs which as steve said, are "platform-dependent". There is separate JVM for linux, which converts byte codes as per linux platform, there is separate JVM for windows which converts byte codes as per windows environment, etc.
Garbage collection is JVM dependent which in turn is platform dependent.
Correct me if I am wrong... [ September 28, 2005: Message edited by: Akhil Trivedi ]