@@ -207,7 +207,7 @@ def test_updating_references_for_heap_allocated_shared_arrays
207207 end
208208
209209 def test_updating_references_for_embed_shared_arrays
210- omit if GC ::INTERNAL_CONSTANTS [ :SIZE_POOL_COUNT ] == 1
210+ omit if GC ::INTERNAL_CONSTANTS [ :HEAP_COUNT ] == 1
211211
212212 assert_separately ( %w[ -robjspace ] , "#{ <<~"begin;" } \n #{ <<~"end;" } " , timeout : 10 )
213213 begin;
@@ -256,7 +256,7 @@ def test_updating_references_for_heap_allocated_frozen_shared_arrays
256256 end
257257
258258 def test_updating_references_for_embed_frozen_shared_arrays
259- omit if GC ::INTERNAL_CONSTANTS [ :SIZE_POOL_COUNT ] == 1
259+ omit if GC ::INTERNAL_CONSTANTS [ :HEAP_COUNT ] == 1
260260
261261 assert_separately ( %w[ -robjspace ] , "#{ <<~"begin;" } \n #{ <<~"end;" } " , timeout : 10 )
262262 begin;
@@ -284,7 +284,7 @@ def test_updating_references_for_embed_frozen_shared_arrays
284284 end
285285
286286 def test_moving_arrays_down_heaps
287- omit if GC ::INTERNAL_CONSTANTS [ :SIZE_POOL_COUNT ] == 1
287+ omit if GC ::INTERNAL_CONSTANTS [ :HEAP_COUNT ] == 1
288288
289289 assert_separately ( %w[ -robjspace ] , "#{ <<~"begin;" } \n #{ <<~"end;" } " , timeout : 10 )
290290 begin;
@@ -306,7 +306,7 @@ def test_moving_arrays_down_heaps
306306 end
307307
308308 def test_moving_arrays_up_heaps
309- omit if GC ::INTERNAL_CONSTANTS [ :SIZE_POOL_COUNT ] == 1
309+ omit if GC ::INTERNAL_CONSTANTS [ :HEAP_COUNT ] == 1
310310
311311 assert_separately ( %w[ -robjspace ] , "#{ <<~"begin;" } \n #{ <<~"end;" } " , timeout : 10 )
312312 begin;
@@ -330,7 +330,7 @@ def test_moving_arrays_up_heaps
330330 end
331331
332332 def test_moving_objects_between_heaps
333- omit if GC ::INTERNAL_CONSTANTS [ :SIZE_POOL_COUNT ] == 1
333+ omit if GC ::INTERNAL_CONSTANTS [ :HEAP_COUNT ] == 1
334334
335335 assert_separately ( %w[ -robjspace ] , "#{ <<~"begin;" } \n #{ <<~"end;" } " , timeout : 60 )
336336 begin;
@@ -362,7 +362,7 @@ def add_ivars
362362 end
363363
364364 def test_compact_objects_of_varying_sizes
365- omit if GC ::INTERNAL_CONSTANTS [ :SIZE_POOL_COUNT ] == 1
365+ omit if GC ::INTERNAL_CONSTANTS [ :HEAP_COUNT ] == 1
366366
367367 assert_ruby_status ( [ ] , "#{ <<~"begin;" } \n #{ <<~"end;" } " , timeout : 10 )
368368 begin;
@@ -378,7 +378,7 @@ def test_compact_objects_of_varying_sizes
378378 end
379379
380380 def test_moving_strings_up_heaps
381- omit if GC ::INTERNAL_CONSTANTS [ :SIZE_POOL_COUNT ] == 1
381+ omit if GC ::INTERNAL_CONSTANTS [ :HEAP_COUNT ] == 1
382382
383383 assert_separately ( %w[ -robjspace ] , "#{ <<~"begin;" } \n #{ <<~"end;" } " , timeout : 30 )
384384 begin;
@@ -399,7 +399,7 @@ def test_moving_strings_up_heaps
399399 end
400400
401401 def test_moving_strings_down_heaps
402- omit if GC ::INTERNAL_CONSTANTS [ :SIZE_POOL_COUNT ] == 1
402+ omit if GC ::INTERNAL_CONSTANTS [ :HEAP_COUNT ] == 1
403403
404404 assert_separately ( %w[ -robjspace ] , "#{ <<~"begin;" } \n #{ <<~"end;" } " , timeout : 30 )
405405 begin;
@@ -419,7 +419,7 @@ def test_moving_strings_down_heaps
419419 end
420420
421421 def test_moving_hashes_down_heaps
422- omit if GC ::INTERNAL_CONSTANTS [ :SIZE_POOL_COUNT ] == 1
422+ omit if GC ::INTERNAL_CONSTANTS [ :HEAP_COUNT ] == 1
423423 # AR and ST hashes are in the same size pool on 32 bit
424424 omit unless RbConfig ::SIZEOF [ "uint64_t" ] <= RbConfig ::SIZEOF [ "void*" ]
425425
0 commit comments