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

From: SASADA Koichi <ko1@...>
Date: 2014-03-01 09:43:00 UTC
List: ruby-core #61171
(2014/03/01 16:15), normal wrote:
> -#ifdef RGENGC_ESTIMATE_OLDMALLOC
> +#if (USE_RGENGC) && defined(RGENGC_ESTIMATE_OLDMALLOC)

Is this check needed?

RGENGC_ESTIMATE_OLDMALLOC is always 0 if USE_RGENGC is not defined.

-- 
// SASADA Koichi at atdot dot net

In This Thread

Prev Next