[ruby-cvs:72576] normal:r65475 (trunk): mjit: get rid of rb_mjit_unit_node and use ccan/list

normal at ruby-lang.org normal at ruby-lang.org
Thu Nov 1 08:55:22 JST 2018


normal	2018-11-01 08:55:22 +0900 (Thu, 01 Nov 2018)

  New Revision: 65475

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

  Log:
    mjit: get rid of rb_mjit_unit_node and use ccan/list
    
    rb_mjit_unit can either exist in unit_queue or active_units, but
    not both.  This will make state transitions for event-based MJIT
    process management easier.
    
    v2: recheck unit->iseq after GC wakeup
    
    The iseq may be GC-ed while we were waiting for it since we
    delete the unit from unit_queue during get_from_list

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


More information about the ruby-cvs mailing list