- 21 Jul, 2020 2 commits
-
-
dearblue authored
The `ObjectSpace#memsize_of` and `ObjectSpace#memsize_of_all` in `mruby-objectspace` ware migrated to `mruby-os-memsize` mrbgem.
-
Yukihiro "Matz" Matsumoto authored
-
- 20 Jul, 2020 1 commit
-
-
Yukihiro "Matz" Matsumoto authored
-
- 19 Jul, 2020 9 commits
-
-
Yukihiro "Matz" Matsumoto authored
Extract memsize to gem
-
Rory OConnell authored
-
Rory OConnell authored
Those methods are originally CRuby specific. Co-authored-by: Yukihiro "Matz" Matsumoto <matz@ruby.or.jp>
-
Yukihiro "Matz" Matsumoto authored
Those tests succeeds only on some configuration.
-
Yukihiro "Matz" Matsumoto authored
The old code compiles only on `MRB_NO_BOXING`.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`mrb_value` may or may not be struct according to configuration.
-
Yukihiro "Matz" Matsumoto authored
-
- 18 Jul, 2020 8 commits
-
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`C` retrieves a `mrb_value` that refers a class/module. `c` retrieves a `struct RClass*` pointer to a class/module.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
`ObjectSpace.memsize_of_all` takes a class and count memory size of all instances of the class and its subclasses (if any).
-
Yukihiro "Matz" Matsumoto authored
Add ObjectSpace.memsize_of_all
-
Rory O'Connell authored
-
Rory OConnell authored
-
Rory OConnell authored
-
- 17 Jul, 2020 10 commits
-
-
Yukihiro "Matz" Matsumoto authored
This bug has been there since mruby 1.4.0 (2018-04).
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
Also avoid `mrb_funcall` to minimize VM recursion.
-
Yukihiro "Matz" Matsumoto authored
Memory size of a Fiber is calculated by stack size only in CRuby.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
This is enhancement from CRuby's `memsize_of`. We need to change the CRuby first for the enhancement.
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
Yukihiro "Matz" Matsumoto authored
-
- 16 Jul, 2020 4 commits
-
-
Yukihiro "Matz" Matsumoto authored
Fixed shift width for `MRB_ENV_SET_BIDX()`
-
Yukihiro "Matz" Matsumoto authored
Add ObjectSpace.memsize_of
-
Rory O'Connell authored
-
- 15 Jul, 2020 4 commits
-
-
Rory O'Connell authored
-
Rory O'Connell authored
-
Yukihiro "Matz" Matsumoto authored
Fix `${build_dir}/mrbgems/gem_init.c` generation condition; ref #5010
-
Yukihiro "Matz" Matsumoto authored
Set `STDOUT.sync=true` when testing on AppVeyor [skip travis]
-
- 14 Jul, 2020 2 commits
-
-
KOBAYASHI Shuji authored
This issue is a correction error at 5a682bfc.
-
KOBAYASHI Shuji authored
The `${build_dir}/mrbgems/gem_init.c` generation condition has been changed at #5010, but it is somewhat insufficient, for example, there was a problem with `rake && rake test`, which was also regenerated in `rake test`.
-