[#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:61236] Re: [ruby-trunk - Bug #9262] global_method_cache should be configurable or grow automatically

From: Eric Wong <normalperson@...>
Date: 2014-03-02 23:28:22 UTC
List: ruby-core #61236
Eric Wong <normalperson@yhbt.net> wrote:
> nobu@ruby-lang.org wrote:
> > Eric Wong wrote:
> > >  It also replaces CPP #if with C if for readability.
> > 
> > I don't think it is needed.
> 
> OK, does it that mean UNDEFINED_METHOD_ENTRY_P is unnecessary
> with cache disabled?  Could just do this:
> 	http://80x24.org/gmc_disable.patch

r45261.  I used my original hunk in rb_method_entry_get_without_cache
since I got "make test" failures on my 32-bit machine without checking
UNDEFINED_METHOD_ENTRY_P(me) when bypassing GMC

In This Thread