mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/-ext-/tracepoint/test_tracepoint.rb: catch up GC.stat changes
at r43835. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
30e88ca8a7
commit
84b7d6d533
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Mon Nov 25 05:05:04 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/-ext-/tracepoint/test_tracepoint.rb: catch up GC.stat changes
|
||||
at r43835.
|
||||
|
||||
Mon Nov 25 04:45:59 2013 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* gc.c: continue to change OLDSPACE -> OLDMALLOC.
|
||||
|
|
|
@ -44,7 +44,7 @@ class TestTracepointObj < Test::Unit::TestCase
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue