diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2021-01-13 22:36:45 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2021-01-13 22:46:51 -0800 |
commit | e1fee7f949cb6719122672fa1081c60984a5339f (patch) | |
tree | 3a851fdfcdbf395f5783aecaacf521308ddfd74e /tool/lib/test/unit/core_assertions.rb | |
parent | 4d13f3e9da6298a1f8154def2e341ecb7c5fe116 (diff) | |
download | ruby-e1fee7f949cb6719122672fa1081c60984a5339f.tar.gz |
Rename RubyVM::MJIT to RubyVM::JIT
because the name "MJIT" is an internal code name, it's inconsistent with
--jit while they are related to each other, and I want to discourage future
JIT implementation-specific (e.g. MJIT-specific) APIs by this rename.
[Feature #17490]
Diffstat (limited to 'tool/lib/test/unit/core_assertions.rb')
-rw-r--r-- | tool/lib/test/unit/core_assertions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/test/unit/core_assertions.rb b/tool/lib/test/unit/core_assertions.rb index abd0e45035..118c0d111b 100644 --- a/tool/lib/test/unit/core_assertions.rb +++ b/tool/lib/test/unit/core_assertions.rb @@ -115,7 +115,7 @@ module Test 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::MJIT) && RubyVM::MJIT.enabled? + pend 'assert_no_memory_leak may consider MJIT memory usage as leak' if defined?(RubyVM::JIT) && RubyVM::JIT.enabled? require_relative '../../memory_status' raise MiniTest::Skip, "unsupported platform" unless defined?(Memory::Status) |