-
Right now, we place objects that need to be freed at shutdown into a weak list that is traversed at shutdown. This makes allocation slower and increases memory used.
Allocation:
https://github.c…
-
The GC API uses system malloc/realloc/free without any MMTk specific accounting.
The existing implementation does this in `rb_mmtk_xmalloc_increase_body`:
https://github.com/mmtk/ruby/blob/80825…
-
As I see crashes in CI I'll open issues for them and then try to find the repro steps.
Error from recent run https://github.com/mmtk/ruby/actions/runs/10200710721/job/28220886500 using StickyImmix
…
-
We're seeing a crash when scanning references with MMTk. I'm able to reproduce it like this:
```
$ make -j12 test-all RUBY_TESTOPTS="--excludes-dir=test/.excludes-mmtk" RUN_OPTS="--mmtk-plan=Immi…
-
Currently, the code base, especially `gc.c`, is littered with ad-hoc `#ifdef MMTK` blocks. While it works, it is better if we can isolate MMTk-related functions and data structures into a dedicated s…
-
`TracePoint` is a mechanism to install hooks and count various GC-related events in a code block. `GC.stat` returns the internal statistics of the GC. They are currently not (well) supported when us…
-
For https://github.com/mmtk/mmtk-core/pull/1165, the return value for `memory_manager::is_mmtk_object` is changed. However, in the run https://github.com/mmtk/mmtk-core/actions/runs/9899721290/job/273…
-
Currently we implement `realloc` by simply allocating a new array and copy the contents over. At some point, we probably would like to know how much overhead this would introduce. Alternatively, we ma…
-
https://github.com/mmtk/mmtk-core/pull/1174 introduced an API that allows heap traversal. The API will enumerate objects based on the VO bit at the time of enumeration. So if there is GC or allocation…
-
https://github.com/mmtk/mmtk-core