[ruby-cvs:69925] k0kubun:r62785 (trunk): mjit.c: add timeout for --jit-wait

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sat Mar 17 11:00:30 JST 2018


k0kubun	2018-03-17 11:00:30 +0900 (Sat, 17 Mar 2018)

  New Revision: 62785

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

  Log:
    mjit.c: add timeout for --jit-wait
    
    Sometimes test hangs in `mjit_get_iseq_func` like this:
    http://ci.rvm.jp/results/trunk-test@ruby-sky3/659391
    
    It seems that a process waiting in `mjit_get_iseq_func` does no longer
    have MJIT worker thread. We don't wait for JIT finish forever. So I
    added timeout for the case. I'm not sure why there was no MJIT worker
    thread in ruby-sky3 test process though.

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


More information about the ruby-cvs mailing list