diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-04-19 11:45:02 +0900 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-04-19 12:42:14 +0900 |
| commit | 0f25886facd0b5f8e0998ec78ce3147d62c61bef (patch) | |
| tree | ef4dd035e3f881b4188c1c00838579a6b6ccc595 /include/ruby/internal | |
| parent | 52487705d09aa4d304f3513594650c8bfbaad774 (diff) | |
Implement dsize function for `fstring_table_type`
The fstring table size used to be reported as part of the VM
size, but since it was refactored to be lock-less it was no
longer reported.
Since it's now wrapped by a `T_DATA`, we can implement its
`dsize` function and get a valuable insight into the size
of the table.
```
{"address":"0x100ebff18", "type":"DATA", "shape_id":0, "slot_size":80,
"struct":"VM/fstring_table", "memsize":131176, ...
```
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13138
Diffstat (limited to 'include/ruby/internal')
0 files changed, 0 insertions, 0 deletions
