[#61424] [REJECT?] xmalloc/xfree: reduce atomic ops w/ thread-locals — Eric Wong <normalperson@...>

I'm unsure about this. I _hate_ the extra branches this adds;

13 messages 2014/03/12

[ruby-core:61173] Re: [ruby-trunk - Bug #9584] RGenGC regression in CoW sharing

From: Eric Wong <normalperson@...>
Date: 2014-03-01 10:01:33 UTC
List: ruby-core #61173
ko1@atdot.net wrote:
> Does it help for CoW friendly?
> 
> Basically, promoted bit is changed only for young objects.
> To make young object, pages are marked dirty.

Yes, but look again at the SHARED_* numbers from nari's test
code.  #define USE_RGENGC 0  shares more memory.

> And also, I'm worry about WB performance.

I doubt it's much difference.
I haven't been able to fix my bitmap patch to test performance
(can't finish build, even).  I suspect it's fake objects, I marked some with
FL_PERMANENT but maybe I missed some.  If you have time, can you please
take a look?

In This Thread