summaryrefslogtreecommitdiff
path: root/class.c
AgeCommit message (Expand)Author
2025-12-30Box: skip checking the current box is the root boxSatoshi Tagomori
2025-12-30Box: allocate classes as boxable when it happens in the root boxSatoshi Tagomori
2025-12-18make rb_singleton_class ractor safe (#15591)Luke Gruber
2025-12-04Take VM lock in `class_switch_superclass` (#15356)Luke Gruber
2025-12-02Box: Free rb_classext_t struct for a box when the box is GCedSatoshi Tagomori
2025-11-20Fix missing write barrier on namespace classextJohn Hawthorn
2025-11-10Fix printf specificer. %lp doesn't make sense. Triggered -WformatAlan Wu
2025-11-11Revert "ns_subclasses refcount accesses need to be atomic (#15083)" (#15138)Luke Gruber
2025-11-10Remove unused subclass methodsJohn Hawthorn
2025-11-10Fix memory leak in subclasses when freeing classextPeter Zhu
2025-11-07Use RUBY_BOX environment variable instead of RUBY_NAMESPACESatoshi Tagomori
2025-11-07renaming internal data structures and functions from namespace to boxSatoshi Tagomori
2025-11-07update referenced filenames from namespace to boxSatoshi Tagomori
2025-11-06ns_subclasses refcount accesses need to be atomic (#15083)Luke Gruber
2025-11-03No need to call rb_define_class/module_under_idSatoshi Tagomori
2025-10-26Stop deleting the reference from superclass when replacing classext.Satoshi Tagomori
2025-10-26free the entry after deleting the referenceSatoshi Tagomori
2025-10-26classext replacement never happen on non-iclass classesSatoshi Tagomori
2025-10-23use `SET_SHAREABLE`Koichi Sasada
2025-10-21Fix memory leak in RCLASS_SET_NAMESPACE_CLASSEXTPeter Zhu
2025-10-21Move rb_class_classext_free to class.cPeter Zhu
2025-10-17Preallocate capacity for id table in rb_singleton_class_clone_and_attachPeter Zhu
2025-10-17Set method table owned by iclass in rb_class_duplicate_classextPeter Zhu
2025-10-16Fix crash when freeing namespacesPeter Zhu
2025-10-14Remove a comment - we cannot remove this method now probablySatoshi Tagomori
2025-10-02ZJIT: Add `NoSingletonClass` patch point (#14680)Stan Lo
2025-09-29zeroing on the table to suppress unintentional call of classext_foreachSatoshi Tagomori
2025-09-29Update current namespace management by using control frames and lexical contextsSatoshi Tagomori
2025-09-17Clear object_id for newly allocated classPeter Zhu
2025-08-30object.c: improve fake_class_p to also handle T_MODULEJean Boussier
2025-07-23Cleanup M_TBL workarounds and commentsJohn Hawthorn
2025-07-23Fix missing write barrier through M_TBLJohn Hawthorn
2025-07-01class.c: Stop deleting __classpath__ / __tmp_classpath__Jean Boussier
2025-06-24Refactor rewrite_crefJohn Hawthorn
2025-06-24Reduce exposure of FL_FREEZEJean Boussier
2025-06-23Allocate singleton classes as namespaceable if their parent areJean Boussier
2025-06-23Shink RClass when it is known they can't be namespacedJean Boussier
2025-06-23Mark RClass instance that may be namespaced with RCLASS_NAMESPACEABLEJean Boussier
2025-06-17Rename `imemo_class_fields` -> `imemo_fields`Jean Boussier
2025-06-12Turn `rb_classext_t.fields` into a T_IMEMO/class_fieldsJean Boussier
2025-05-29Read {max_iv,variation}_count from prime classextJohn Hawthorn
2025-05-28Use flag for RCLASS_IS_INITIALIZEDJohn Hawthorn
2025-05-28Make class_alloc only accept typeJohn Hawthorn
2025-05-26Add shape_id to RBasic under 32 bitJohn Hawthorn
2025-05-25Use RB_VM_LOCKINGNobuyoshi Nakada
2025-05-23Only call RCLASS_SET_ALLOCATOR on T_CLASS objectsJohn Hawthorn
2025-05-23Don't use namespaced classext for superclassesJohn Hawthorn
2025-05-22Remove assertion on field in `class_duplicate_iclass_classext`Aaron Patterson
2025-05-22Namespaces: Don't initialize fields for T_ICLASSJean Boussier
2025-05-21Update class.cAaron Patterson