ruby-changes:60271
From: Koichi <ko1@a...>
Date: Tue, 3 Mar 2020 15:54:05 +0900 (JST)
Subject: [ruby-changes:60271] 1ad9364440 (master): add debug code for Solaris
https://git.ruby-lang.org/ruby.git/commit/?id=1ad9364440 From 1ad9364440f6685d2df3b855f5e22f644e9f1f43 Mon Sep 17 00:00:00 2001 From: Koichi Sasada <ko1@a...> Date: Tue, 3 Mar 2020 15:51:42 +0900 Subject: add debug code for Solaris Check heap consistency after each test to debug. https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20200303T012406Z.fail.html.gz diff --git a/tool/lib/leakchecker.rb b/tool/lib/leakchecker.rb index 7d7f483..2fa504b 100644 --- a/tool/lib/leakchecker.rb +++ b/tool/lib/leakchecker.rb @@ -11,6 +11,7 @@ class LeakChecker https://github.com/ruby/ruby/blob/trunk/tool/lib/leakchecker.rb#L11 end def check(test_name) + GC.verify_internal_consistency if /solaris/ =~ RUBY_PLATFORM leaks = [ check_fd_leak(test_name), check_thread_leak(test_name), -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/