GC writebarrier introduced

Th GC now works with writebarrier. Please report any problems that you encounter regarding the GC.

Q: Which GC algorithm does JNode use?

Hi!

A silly, basic question: which GC algorithm is currently implemented in JNode?

GC algorithm

A simple mark & sweep

Re: GC Algorithm

Why do you need a write barrier? Is the GC preemptible and needs to be protected against the mutator? Wouldn't be simpler if the GC wasn't preemptible, cause the barriers could be quite expensive, if applied to all write operations.

By the way, there are three articles on java garbage collection on IBM's developerWorks:
http://www-106.ibm.com/developerworks/java/library/j-jtp10283/
http://www-106.ibm.com/developerworks/java/library/j-jtp11253/
http://www-106.ibm.com/developerworks/java/library/j-jtp01274.html