[ruby-cvs:69892] k0kubun:r62741 (trunk): mjit_compile.c: disable comment_id by default

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Mar 13 21:29:55 JST 2018


k0kubun	2018-03-13 21:29:55 +0900 (Tue, 13 Mar 2018)

  New Revision: 62741

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62741

  Log:
    mjit_compile.c: disable comment_id by default
    
    Doing `rb_ary_aref` to `global_symbols.ids` is not thread-safe and
    randomly causes SEGV.
    https://gist.github.com/k0kubun/ab60727c6be7c0e777d2b4241f59173c
    
    But it's convenient for development. So I keep it optionally available.

  Modified files:
    trunk/mjit_compile.c


More information about the ruby-cvs mailing list