diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-11-27 23:46:10 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-11-27 23:46:46 -0800 |
commit | 3378a1ccef8fe867c58b0df37a366c31d0a075a8 (patch) | |
tree | f37d98c8865a84ed649b6cce74e7ecc252a91d42 /test/ruby/test_jit.rb | |
parent | 096f54428d8000cccce430022784cb0e7cd31cb4 (diff) | |
download | ruby-3378a1ccef8fe867c58b0df37a366c31d0a075a8.tar.gz |
Fix compactions.size for throttling
096f54428d changes the behavior for this kind of cases.
Diffstat (limited to 'test/ruby/test_jit.rb')
-rw-r--r-- | test/ruby/test_jit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index 024586671e..bec6d30dfc 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -695,7 +695,7 @@ class TestJIT < Test::Unit::TestCase # On --jit-wait, when the number of JIT-ed code reaches --jit-max-cache, # it should trigger compaction. unless RUBY_PLATFORM.match?(/mswin|mingw/) # compaction is not supported on Windows yet - assert_equal(3, compactions.size, debug_info) + assert_equal(1, compactions.size, debug_info) end if RUBY_PLATFORM.match?(/mswin/) |