mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
890df5f812
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. |
||
---|---|---|
.. | ||
test_objspace.rb |