Re:The Deletion of gcj
by correktlogic on Monday October 03, 2016 @10:16AM
(#12627563)
Anyone know if gcj ever experimented with a precise GC? Or did the design of GCC simply not allow for a non-conservative GC implementation?
However, the main problem with GCJ was it used conservative garbage collection - boehm GC - and as such was fundamentally broken for long running programs (what java is good for). Without wanting to denigrate it too much, it seems to me that a lot of 'good' work has been put into this approach which was essentially a cul-de-sac.
I had a related rather general thought recently about documenting features in projects. Sometimes the hardest thing to know is whether something is in fact a good idea or not (both in theory and in practice) and the amount of effort/quality of documentation is probably not a good indicator of this. So in the case of the GCJ garbage collector, there was always a lot of talk about how clever the garbage collector was and all the technical aspects, but unless you were already an expert, how would you know if it was infact a good idea or not.
[1] That is this one, there are several now doing similar things (!). http://www.xwt.org/
The code lives on here https://sourceforge.net/projects/vexi/