End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
GC.verify_internal_consistency
GC.verify_internal_consistency → nil
gc.c
View on GitHub ↗
static VALUE
gc_verify_internal_consistency_m(VALUE dummy)
{
gc_verify_internal_consistency(&rb_objspace);
return Qnil;
}
Verify internal consistency.
This method is implementation specific. Now this method checks generational consistency if RGenGC is supported.
See also
.verify_compaction_references
.verify_transient_heap_internal_consistency
.total_time
#garbage_collect
also in
4.1 · 3.3 · 3.2 · 3.0