Skip to content

End of Life Ruby 3.0 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

Verify internal consistency.

This method is implementation specific. Now this method checks generational consistency if RGenGC is supported.