summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-objectspace/test/objectspace.rb
AgeCommit message (Collapse)Author
2020-07-19Separate `memsize_of` and `memsize_of_all` to a separate gem; #5040Rory OConnell
Those methods are originally CRuby specific. Co-authored-by: Yukihiro "Matz" Matsumoto <[email protected]>
2020-07-20Remove some tests from `mruby-objectspace` gem; #5040Yukihiro "Matz" Matsumoto
Those tests succeeds only on some configuration.
2020-07-17Add ObjectSpace.memsize_of_allRory OConnell
2020-07-17Fix `memsize_of` Fibers; #5032Yukihiro "Matz" Matsumoto
Memory size of a Fiber is calculated by stack size only in CRuby.
2020-07-17Remove recursive `memsize_of`; #5032Yukihiro "Matz" Matsumoto
This is enhancement from CRuby's `memsize_of`. We need to change the CRuby first for the enhancement.
2020-07-14Finishing out memsize_of recursionRory O'Connell
2020-07-13Update tests for new calculationsRory OConnell
2020-07-09Initial ObjectSpace.memsize_of implementationRory OConnell
2019-06-02Fix missing assertions in `mruby-objectspace` testKOBAYASHI Shuji
2019-01-03Remove `Kernel#class_defined?` which is not available in CRuby; #3829Yukihiro "Matz" Matsumoto
2017-11-19Invoke `mrb_full_gc()` before `ObjectSpace.count_objects`.Yukihiro "Matz" Matsumoto
2014-06-28Fix crash in method call in `ObjectSpace.each_object` block.take_cheeze
* Filter `MRB_TT_ENV` and `MRB_TT_ICLASS`. * Set `mrb->string_class` in `mrb_init_exception` instead.
2014-04-06Always increment `total` field of `os_count_struct` in callback.take_cheeze
Check sum of `ObjectSpace.count_objects` values is twice of total objects count. (Which is CRuby's behavior.)
2014-04-03Support :T_FIBER in ObjectSpace.count_objects .take_cheeze
2014-03-27Use CRuby compatible key in ObjectSpace.count_objects .take_cheeze
2014-03-25Implement ObjectSpace.each_object .take_cheeze
2013-08-04Improve test of mruby-objectspace-ext GEMDaniel Bovensiepen
2013-05-17Removed debug outputRyan Scott
2013-05-17Changed the object_count so that it only iterates over the RBasic object, ↵Ryan Scott
not the full RVALUE known by the GC
2013-05-17First implementation of ObjectSpace moved outside of gc.cRyan Scott