summaryrefslogtreecommitdiff
path: root/ext/date/date_core.c
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2022-06-29 15:21:11 +0200
committerJean Boussier <[email protected]>2022-07-04 20:04:59 +0200
commit890df5f81271e031ae86775b8b8b8e4e4d4640d8 (patch)
tree3e33ab2b8fafbf05e5117973140e4557770b552e /ext/date/date_core.c
parentb92fb7869624cb58475516361505f65f4f8a24d0 (diff)
ObjectSpace.dump: Include string coderange
I suspect that some shared pages are invalidated because some static string don't have their coderange set eagerly. So the first time they are scanned, the entire memory page is invalidated. Being able to see the coderange in `ObjectSpace` would help debug this. And in addition `dump` currently call `is_broken_string()` and `is_ascii_string()` which both end up scanning the string and assigning coderange. I think it's undesirable as `dump` should be read only.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6076
Diffstat (limited to 'ext/date/date_core.c')
0 files changed, 0 insertions, 0 deletions