On Sat, Oct 26, 2013 at 8:01 AM, Sandro Magi <[email protected]> wrote:

> On 25/10/2013 3:46 PM, Jonathan S. Shapiro wrote:
>
>> Unless the stack-scoped region is somehow partitioned from the rest of
>> the heap in an identifiable way, you're going to have a hard time
>> reclaiming that storage quickly. I see how to do it; it just isn't pretty.
>>
>
> Not partitioned, but tracked was my idea. Each thread could have a linked
> stack of such regions. A bit flag indicating a region is being scanned
> means the owning thread transfers ownership to the GC thread instead of
> freeing the region.


Regions are a logical construct, not a physical construct. In the usual
implementation there is no notion of any region-associated container that
you can hand off this way. Introducing such a container (or other gathering
mechanism) is what I meant when I said we needed a partition. Basically, we
need a way to quickly find the objects that are in the region.
_______________________________________________
bitc-dev mailing list
[email protected]
http://www.coyotos.org/mailman/listinfo/bitc-dev

Reply via email to