[#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:61364] Re: [ruby-trunk - Feature #9508] Add method coverage and branch coverage metrics

From: Eric Wong <normalperson@...>
Date: 2014-03-07 10:43:32 UTC
List: ruby-core #61364
sam.rawlins@gmail.com wrote:
> Hi Eric, thanks for that test. It revealed my poor choice for `#define
> RUBY_EVENT_MCOVERAGE 0x040000` (`RUBY_INTERNAL_EVENT_SWITCH` is the
> same). I've updated my pull request with better choices in
> `include/ruby/ruby.h`: https://github.com/ruby/ruby/pull/511.patch

Thanks Sam, works for me!  I'll try to play with it more next week.
(and maybe extract the dtas/yahns coverage hack into its own gem for
 GUI-phobes like myself)

I'll let mame answer your design question.

In This Thread

Prev Next