Alex Rivera | Logout

.Net vs Java Garbage Collector

Asked 2009-01-29T18:00:27.267
67

Does anyone know the major differences between the Java and .Net garbage collectors? A web search has not revealed much, and it was a question that came up in a test.

Edit
Report

1 Answer

3

Java 5 introduced a lot of changes into its GC algorithms.

I'm not a C# maven, but these two articles suggest to me that both have evolved away from simple mark and sweep and towards newer generation models:

http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html http://www.csharphelp.com/archives2/archive297.html

answered 2009-01-29T18:30:51.697

Your Answer