2 ms·
Java's garbage collection is far from the state of the art in GC technology. While there are some non-standard JVMs that have advanced GC (such as IBM's real-t
by JoshTriplett 13y ago
Java's garbage collection is far from the state of the art in GC technology. While there are some non-standard JVMs that have advanced GC (such as IBM's real-time garbage collector), the standard JVM does not.
Current-generation garbage collectors have far better performance, and many research GCs support concurrent, pause-free collection.
(And that leaves aside the non-performance benefits of a GC, in terms of engineering simplicity and bug elimination.)
- dman 13y agoAny pointers on the state of the art?
- pjmlp 13y agohttp://www.azulsystems.com/technology/c4-garbage-collector http://www.azulsystems.com/technology/c4-garbage-collector
- hga 13y agoWhich I would add is a production garbage collector, an updated version of the Pauseless one that's got its own paper and is covered in the 2nd edition of the book on garbage collection, http://www.amazon.com/The-Garbage-Collection-Handbook-Management/dp/1420082795/ http://www.amazon.com/The-Garbage-Collection-Handbook-Manage... Does require custom hardware or kernel cooperation for speed (e.g. it needs to do batched MMU operations without clearing the TBL on each 2MB page). Looks like it's got a better read barrier than the Pauseless one; that does of course cost extra on stock hardware.