[ruby-cvs:71124] k0kubun:r64033 (trunk): mjit.c: prevent GC on MJIT worker

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Tue Jul 24 23:36:10 JST 2018


k0kubun	2018-07-24 23:36:10 +0900 (Tue, 24 Jul 2018)

  New Revision: 64033

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

  Log:
    mjit.c: prevent GC on MJIT worker
    
    mjit_compile.c: ditto.
    
    REALLOC_N, ALLOC_N and xmalloc trigger GC but it's not expected.
    Other allocation calls in mjit.c are executed on Ruby's main thread and
    thus fine.

  Modified files:
    trunk/mjit.c
    trunk/mjit_compile.c


More information about the ruby-cvs mailing list