[#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:61174] Re: [ruby-changes:33145] normal:r45224 (trunk): gc.c: fix build for testing w/o RGenGC

From: SASADA Koichi <ko1@...>
Date: 2014-03-01 10:07:41 UTC
List: ruby-core #61174
(2014/03/01 18:47), Eric Wong wrote:
>> > RGENGC_ESTIMATE_OLDMALLOC is always 0 if USE_RGENGC is not defined.
> I used "#define USE_RGENGC 0" in ruby.h, so USE_RGENGC
> is defined.

Sorry, my mistake.  I didn't want to say "not defined", but "not true".
(`#if USE_RGENGC' at gc.c:180.)

-- 
// SASADA Koichi at atdot dot net

In This Thread

Prev Next