ruby-changes:63785
From: Takashi <ko1@a...>
Date: Sat, 28 Nov 2020 16:47:15 +0900 (JST)
Subject: [ruby-changes:63785] 3378a1ccef (master): Fix compactions.size for throttling
https://git.ruby-lang.org/ruby.git/commit/?id=3378a1ccef From 3378a1ccef8fe867c58b0df37a366c31d0a075a8 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Fri, 27 Nov 2020 23:46:10 -0800 Subject: Fix compactions.size for throttling 096f54428d changes the behavior for this kind of cases. diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index 0245866..bec6d30 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -695,7 +695,7 @@ class TestJIT < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit.rb#L695 # 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/) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/