diff options
author | Kevin Newton <[email protected]> | 2022-01-11 12:47:22 -0500 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2022-01-21 14:34:53 -0800 |
commit | fc6fd4c31e957a4b15ba2c03cbd1cea0a8af6513 () | |
tree | ec1681ac98d098f35d2751fd4d33138d3141f8a0 /vm_trace.c | |
parent | 5e3a32021849718ae483eaaa9fbf155f91828039 (diff) |
Accurately report VM memsize
Currently the calculation only counts the size of the struct. This commit adds the size of the associated st tables, id tables, and linked lists. Still missing is the size of the ractors and (potentially) the size of the object space.
Notes: Merged: https://.com/ruby/ruby/pull/5428
-rw-r--r-- | vm_trace.c | 23 |
1 files changed, 23 insertions, 0 deletions
@@ -1578,6 +1578,29 @@ struct rb_workqueue_job { rb_postponed_job_t job; }; void Init_vm_postponed_job(void) { |