[前][次][番号順一覧][スレッド一覧]

ruby-changes:31759

From: ko1 <ko1@a...>
Date: Mon, 25 Nov 2013 05:06:08 +0900 (JST)
Subject: [ruby-changes:31759] ko1:r43838 (trunk): * test/-ext-/tracepoint/test_tracepoint.rb: catch up GC.stat changes

ko1	2013-11-25 05:06:02 +0900 (Mon, 25 Nov 2013)

  New Revision: 43838

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43838

  Log:
    * test/-ext-/tracepoint/test_tracepoint.rb: catch up GC.stat changes
      at r43835.

  Modified files:
    trunk/ChangeLog
    trunk/test/-ext-/tracepoint/test_tracepoint.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 43837)
+++ ChangeLog	(revision 43838)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Nov 25 05:05:04 2013  Koichi Sasada  <ko1@a...>
+
+	* test/-ext-/tracepoint/test_tracepoint.rb: catch up GC.stat changes
+	  at r43835.
+
 Mon Nov 25 04:45:59 2013  Koichi Sasada  <ko1@a...>
 
 	* gc.c: continue to change OLDSPACE -> OLDMALLOC.
Index: test/-ext-/tracepoint/test_tracepoint.rb
===================================================================
--- test/-ext-/tracepoint/test_tracepoint.rb	(revision 43837)
+++ test/-ext-/tracepoint/test_tracepoint.rb	(revision 43838)
@@ -44,7 +44,7 @@ class TestTracepointObj < Test::Unit::Te https://github.com/ruby/ruby/blob/trunk/test/-ext-/tracepoint/test_tracepoint.rb#L44
     assert_operator stat2[:total_allocated_object] - stat1[:total_allocated_object], :>=, newobj_count
     assert_operator 1_000_000, :<=, newobj_count
 
-    assert_operator stat2[:total_freed_object] + stat2[:heap_final_num] - stat1[:total_freed_object], :>=, free_count
+    assert_operator stat2[:total_freed_object] + stat2[:heap_final_slot] - stat1[:total_freed_object], :>=, free_count
     assert_operator stat2[:count] - stat1[:count], :==, gc_start_count
 
     assert_operator gc_start_count, :>=, gc_end_count

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]