ade2b51a3b (master): Don't GC unprotect hash in Coverage.peek_result

0 views
Skip to first unread message

Peter Zhu

unread,
Nov 11, 2025, 1:18:15 PM (2 days ago) Nov 11
to ruby...@g.ruby-lang.org
Peter Zhu 2025-11-11 15:00:10 +0000 (Tue, 11 Nov 2025)

New Revision: ade2b51a3b

https://github.com/ruby/ruby/commit/ade2b51a3b

Log:
Don't GC unprotect hash in Coverage.peek_result

The call to unprotect the coverages hash was introduced in commit 99093e1
where we used the raw ST table and st_foreach. We now use rb_hash_foreach
which no longer requires GC unprotecting the coverages hash.

Modified files:
ext/coverage/coverage.c
Reply all
Reply to author
Forward
0 new messages