summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2024-09-04 11:59:37 -0400
committerPeter Zhu <peter@peterzhu.ca>2024-09-09 10:15:21 -0400
commitb66d6e48c8832edebcf7e6d667d10702ddbce42c (patch)
tree9a56fff39128475a0400dde3541a9a94e7dfd754 /test/ruby
parent16f241f0aa047ed77ccea6b6c361b421a72d0454 (diff)
Switch sorted list of pages in the GC to a darray
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_gc.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/ruby/test_gc.rb b/test/ruby/test_gc.rb
index 43444fe8e7..0cf99a9f9c 100644
--- a/test/ruby/test_gc.rb
+++ b/test/ruby/test_gc.rb
@@ -208,7 +208,6 @@ class TestGc < Test::Unit::TestCase
# marking_time + sweeping_time could differ from time by 1 because they're stored in nanoseconds
assert_in_delta stat[:time], stat[:marking_time] + stat[:sweeping_time], 1
assert_equal stat[:total_allocated_pages], stat[:heap_allocated_pages] + stat[:total_freed_pages]
- assert_operator stat[:heap_sorted_length], :>=, stat[:heap_eden_pages] + stat[:heap_allocatable_pages], "stat is: " + stat.inspect
assert_equal stat[:heap_available_slots], stat[:heap_live_slots] + stat[:heap_free_slots] + stat[:heap_final_slots]
assert_equal stat[:heap_live_slots], stat[:total_allocated_objects] - stat[:total_freed_objects] - stat[:heap_final_slots]
assert_equal stat[:heap_allocated_pages], stat[:heap_eden_pages] + stat[:heap_tomb_pages]