summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-20 09:00:41 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-06-20 09:00:41 +0000
commit07b6816583451e41d9e6a97fe97ef366b0539828 (patch)
tree3a440b5e8ab418152819b01db76165c30ed7ace7
parent1db64a2035fc8779ac206958f01d71acc8017c28 (diff)
* benchmark/gc/gcbench.rb: stop GC::Profiler before output results.
Generating GC::Profiler result under profiling causes infinite loop. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--benchmark/gc/gcbench.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d3b5913fa7..290fdb371b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 20 17:59:08 2013 Koichi Sasada <ko1@atdot.net>
+
+ * benchmark/gc/gcbench.rb: stop GC::Profiler before output results.
+ Generating GC::Profiler result under profiling causes infinite loop.
+
Thu Jun 20 17:24:24 2013 Koichi Sasada <ko1@atdot.net>
* benchmark/gc/gcbench.rb: don't use __dir__ to make compatible
diff --git a/benchmark/gc/gcbench.rb b/benchmark/gc/gcbench.rb
index dc1c5e2ded..aa92f0827d 100644
--- a/benchmark/gc/gcbench.rb
+++ b/benchmark/gc/gcbench.rb
@@ -12,6 +12,7 @@ GC::Profiler.enable
tms = Benchmark.measure{|x|
load script
}
+GC::Profiler.disable
GC::Profiler.report
pp GC.stat