[ruby-cvs:73259] normal:r66159 (trunk): spec/ruby/core/io/*_spec.rb: explain MJIT failures

normal at ruby-lang.org normal at ruby-lang.org
Mon Dec 3 18:34:50 JST 2018


normal	2018-12-03 18:34:49 +0900 (Mon, 03 Dec 2018)

  New Revision: 66159

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

  Log:
    spec/ruby/core/io/*_spec.rb: explain MJIT failures
    
    These random failures happen because FD number allocation
    is not predictable when multiple threads are running (since
    MJIT thread is opening/closing files all the time).
    
    Real-world code practically never relies on predictable FD
    number allocation (because much real-world code is
    multi-threaded); so it's highly unlikely there'll be any
    breakage to the user.

  Modified files:
    trunk/spec/ruby/core/io/initialize_spec.rb
    trunk/spec/ruby/core/io/reopen_spec.rb


More information about the ruby-cvs mailing list