[ruby-cvs:70542] normal:r63451 (trunk): vm_trace: implement postponed_jobs as st_table

normal at ruby-lang.org normal at ruby-lang.org
Thu May 17 13:20:33 JST 2018


normal	2018-05-17 13:20:33 +0900 (Thu, 17 May 2018)

  New Revision: 63451

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

  Log:
    vm_trace: implement postponed_jobs as st_table
    
    st_table allows the use of st_shift to act as an order-preserving
    queue while allowing fast lookups to prevent duplicate jobs.
    
    In typical Ruby apps, this table will only have one entry
    for gc_finalize_deferred_register.

  Modified files:
    trunk/vm_core.h
    trunk/vm_trace.c


More information about the ruby-cvs mailing list