[ruby-cvs:71342] k0kubun:r64250 (trunk): mjit.c: add :wait option to RubyVM::MJIT.pause

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Thu Aug 9 18:58:07 JST 2018


k0kubun	2018-08-09 18:58:07 +0900 (Thu, 09 Aug 2018)

  New Revision: 64250

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

  Log:
    mjit.c: add :wait option to RubyVM::MJIT.pause
    
    and wait until JIT queue is flushed when wait option is not passed or
    `wait: true` is passed.
    
    vm.c: ditto
    
    test/ruby/test_rubyvm_mjit.rb: added test for pause/resume
    
    test/lib/jit_support.rb: allow retrying MJIT on JITSupport level
    test/ruby/test_jit.rb: ditto

  Added files:
    trunk/test/ruby/test_rubyvm_mjit.rb
  Modified files:
    trunk/mjit.c
    trunk/test/lib/jit_support.rb
    trunk/test/ruby/test_jit.rb
    trunk/vm.c


More information about the ruby-cvs mailing list