Skip to content

Commit

Permalink
Merge pull request #34 from k0kubun/rubyvm-mjit
Browse files Browse the repository at this point in the history
s/RubyVM::JIT/RubyVM::MJIT/g
  • Loading branch information
hsbt committed Dec 15, 2021
2 parents 37bade2 + a02d142 commit 0e29d6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/lib/core_assertions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def syntax_check(code, fname, line)

def assert_no_memory_leak(args, prepare, code, message=nil, limit: 2.0, rss: false, **opt)
# TODO: consider choosing some appropriate limit for MJIT and stop skipping this once it does not randomly fail
pend 'assert_no_memory_leak may consider MJIT memory usage as leak' if defined?(RubyVM::JIT) && RubyVM::JIT.enabled?
pend 'assert_no_memory_leak may consider MJIT memory usage as leak' if defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?

require_relative 'memory_status'
raise Test::Unit::PendedError, "unsupported platform" unless defined?(Memory::Status)
Expand Down
2 changes: 1 addition & 1 deletion test/net/http/test_httpresponse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def test_read_body_block

def test_read_body_block_mod
# http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/3019353
if defined?(RubyVM::JIT) ? RubyVM::JIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
if defined?(RubyVM::MJIT) ? RubyVM::MJIT.enabled? : defined?(RubyVM::MJIT) && RubyVM::MJIT.enabled?
omit 'too unstable with --jit-wait, and extending read_timeout did not help it'
end
IO.pipe do |r, w|
Expand Down

0 comments on commit 0e29d6e

Please sign in to comment.