3c251f79a3 (master): Don't add singleton classes to subclasses list

1 view
Skip to first unread message

John Hawthorn

unread,
Mar 30, 2026, 9:27:26 PM (22 hours ago) Mar 30
to ruby...@g.ruby-lang.org
John Hawthorn 2026-03-26 07:31:41 +0000 (Thu, 26 Mar 2026)

New Revision: 3c251f79a3

https://github.com/ruby/ruby/commit/3c251f79a3

Log:
Don't add singleton classes to subclasses list

Singleton classes don't need to be iterated in the subclasses list, we
only need to know that a subclass exists so that we can use the "method
entry" path for invalidation.

Modified files:
class.c
internal/class.h
vm_method.c
Reply all
Reply to author
Forward
0 new messages