Re: [PATCH] Proof of concept: multiple gc heaps

2013-06-16 Thread David Malcolm
On Sun, 2013-06-16 at 11:18 +0200, Basile Starynkevitch wrote: > On Fri, Jun 14, 2013 at 11:21:06PM -0400, David Malcolm wrote: > > I'm hoping that gcc 4.9 can support multiple "parallel universes" of gcc > > state within one process, to ultimately support gcc usage as a library, > > where multiple

Re: [PATCH] Proof of concept: multiple gc heaps

2013-06-16 Thread David Malcolm
On Sat, 2013-06-15 at 12:09 -0700, Mike Stump wrote: > On Jun 14, 2013, at 8:21 PM, David Malcolm > wrote: [...snip discussion of approaches to GC and state...] > > I'm attaching a patch which converts all state within ggc into a > gc_heap > > class, so that you can have multiple instances of gg

Re: [PATCH] Proof of concept: multiple gc heaps

2013-06-16 Thread Basile Starynkevitch
On Fri, Jun 14, 2013 at 11:21:06PM -0400, David Malcolm wrote: > I'm hoping that gcc 4.9 can support multiple "parallel universes" of gcc > state within one process, to ultimately support gcc usage as a library, > where multiple client threads can each have their own gcc context (or > "universe").

Re: [PATCH] Proof of concept: multiple gc heaps

2013-06-15 Thread Mike Stump
On Jun 14, 2013, at 8:21 PM, David Malcolm wrote: > I'm hoping that gcc 4.9 can support multiple "parallel universes" of gcc > state within one process > One issue with the above is the garbage collector. > I think there are two possible ways in which "universe instances" could > interact with t