On Sat, 11 Apr 2009 12:12:07 -0400, Sean Kelly <s...@invisibleduck.org> wrote:

Robert Jacques wrote:
On that note, support for per thread GCs in general is another major change. i.e.:
GC.malloc!(T)();
to
Thread.getThis.gc.malloc!(T)(); // Alternatively use thread local storage.

It can remain as GC.malloc(). Exposing a GC handle via thread would allow one thread to use another thread's GC.

Yeah, after a night's sleep I realized that GC.malloc() could just wrap the underlying implementation. P.S. The post was meant to illustrate the under-the-hood changes (i.e. not public), but didn't come out that way.

Reply via email to