summaryrefslogtreecommitdiff
path: root/class.c
AgeCommit message (Expand)Author
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
2025-05-21Add assertion for RCLASS_SET_PRIME_CLASSEXT_WRITABLEAaron Patterson
2025-05-14Reclaim one `VALUE` from `rb_classext_t` by shrinking `super_classdepth`Jean Boussier
2025-05-11Delete code for debugging namespaceSatoshi Tagomori
2025-05-11Follow the code style about elseSatoshi Tagomori
2025-05-11Rename RCLASS_EXT() macro to RCLASS_EXT_PRIME() to prevent using it wronglySatoshi Tagomori
2025-05-11Compact prime classext readable/writable flagsSatoshi Tagomori
2025-05-11initialize method tables before any GC chanceSatoshi Tagomori
2025-05-11avoid calling ZALLOC after NEWOBJ_OF for RClass: need to return RClass not pr...Satoshi Tagomori
2025-05-11namespace on readSatoshi Tagomori
2025-05-09Fix crash when instantiating classes in RactorsPeter Zhu
2025-05-08Rename `ivptr` -> `fields`, `next_iv_index` -> `next_field_index`Jean Boussier
2025-04-10Restore the original order of const_added and inherited callbacksXavier Noria
2025-03-20Trigger `inherited` and `const_set` callbacks after const has been definedJean Boussier
2025-03-14Invoke `inherited` callbacks before `const_added`Jean Boussier
2024-11-20Fix a bug in rb_include_module that stops nested inclusion into module subcla...Jeremy Evans