diff options
author | Matt Valentine-House <[email protected]> | 2024-11-08 20:58:53 +0000 |
---|---|---|
committer | Matt Valentine-House <[email protected]> | 2024-11-14 10:46:36 +0000 |
commit | 6795fc4981d29e10da73a9eb23069d7f914115da () | |
tree | 8a268868a9582ba860fd8ebe428ddb3c135fc8c4 /gc.rb | |
parent | ee290c94a3dd0327f3407edb02272d37470edc95 (diff) |
rb_bug if rb_gc_impl_active_gc_name is too long
This avoids the need to malloc, and reduces the complexity of truncating the long string for display in RUBY_DESCRIPTION. The developer of a GC implementation should be responsible for giving it a succinct name.
Notes: Merged: https://.com/ruby/ruby/pull/11872
0 files changed, 0 insertions, 0 deletions