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

From: Eric Wong <normalperson@...>
Date: 2014-03-02 03:23:32 UTC
List: ruby-core #61215
normalperson@yhbt.net wrote:
>  http://bogomips.org/ruby.git/patch/?id=a899e54e6abc13b8816e6c5f69ff560918db4be1

Btw, I'd like to commit just the vm_method.c change for this
to avoid writing to method cache if disabled.

It also replaces CPP #if with C if for readability.

Ugh, commit message was long, just the vm_method.c change:
http://bogomips.org/ruby.git/diff/vm_method.c?id=a899e54e6abc1

In This Thread