This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the GCJ project. See the GCJ home page for more information.
> I see. So, would that then be similar to [1]? > [1] Amer Diwan and Eliot Moss and Richard Hudson > Compiler Support for Garbage Collection in a Statically Typed Language, > PLDI June 1992, Las Vegas, NV; pages 273--282 Probably. > Then, let me ask the natural follow-up question as to how you're > intending to handle multiple threads? Since I can't see that we can possibly even get started on precise gc in the next 6 months, I see no shame in saying: I don't know. And I don't have time to seriously research/ponder the alternatives at this point. I'm happy to collection suggestions, opinions, and references, but we're not ready to design anything yet. > I remember reading that your run-time uses a cooperative > threading system; but isn't there value in having preemptive threads? That is misleading. We intend to support mutliple run-times, including preemptive threads, as different configuration options. The only *currently* implemented thread mechanism is a simple cooperative threading system (base on setjmp/longjmp), but we have ambitions beyond that. --Per Bothner Cygnus Solutions bothner@cygnus.com http://www.cygnus.com/~bothner