is garbage collection algorithm in java "vendor implemented?"
+1
A:
Definitely vendor dependent. GCJ and the Sun VM use totally different garbage collectors, for example.
Mark Bessey
2009-08-30 06:28:13
+2
A:
Yes, and not only that, each JVM can contain more than one garbage collection strategy:
David Rabinowitz
2009-08-30 06:30:12
+4
A:
From the introduction paragraph to Chapter 3 of the Java Virtual Machine Specification:
For example, the memory layout of run-time data areas, the garbage-collection algorithm used, and any internal optimization of the Java virtual machine instructions (for example, translating them into machine code) are left to the discretion of the implementor. [emphasis mine]
Brandon E Taylor
2009-08-30 06:35:58