diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-05-17 08:49:53 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-05-17 08:50:23 +0900 |
commit | 167cff6a5d5241e2929392682cc3a68ece3b0caf (patch) | |
tree | 7c5becff14a379f14abff90966cc70b0ef25e857 /NEWS.md | |
parent | 35981cb5e914df04760bc5a17d0b6bb44bf45383 (diff) | |
download | ruby-167cff6a5d5241e2929392682cc3a68ece3b0caf.tar.gz |
NEWS.md: mention lib/objspace/trace.rb [Feature #17762]
Diffstat (limited to 'NEWS.md')
-rw-r--r-- | NEWS.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -140,6 +140,12 @@ Excluding feature bug fixes. ## Miscellaneous changes +* lib/objspace/trace.rb is added, which is a tool for tracing the object + allocation. Just by requiring this file, tracing is started *immediately*. + Just by `Kernel#p`, you can investigate where an object was created. + Note that just requiring this file brings a large performance overhead. + This is only for debugging purpose. Do not use this in production. + [Feature #17762] [Bug #4443]: https://bugs.ruby-lang.org/issues/4443 [Feature #12194]: https://bugs.ruby-lang.org/issues/12194 @@ -153,3 +159,4 @@ Excluding feature bug fixes. [Bug #17423]: https://bugs.ruby-lang.org/issues/17423 [Feature #17479]: https://bugs.ruby-lang.org/issues/17479 [Feature #17744]: https://bugs.ruby-lang.org/issues/17744 +[Feature #17762]: https://bugs.ruby-lang.org/issues/17762 |