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.

Reply via email to