ruby/ext/objspace
nobu 97fffcadcb ext/objspace/objspace_dump.c: print addresses consistently
The format addresses are printed in are different if you use
`ObjectSpace.dump_all(output: :stdout)` vs.
`ObjectSpace.dump_all(output: :string)` (or `ObjectSpace.dump`) due to
differences in the underlying `vfprintf` implementation.

Use `"%#"PRIxVALUE` to format `VALUE`.

Co-authored-by: Ashe Connor <ashe@kivikakk.ee>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-09 03:21:57 +00:00
..
depend ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
extconf.rb ext/objspace: Specify frozen_string_literal: true. 2017-02-12 04:31:25 +00:00
object_tracing.c ext/objspace/object_tracing.c (freeobj_i): fix missing assignment 2018-09-07 14:37:19 +00:00
objspace.c Rename imemo_alloc with imemo_tmpbuf 2018-05-09 07:11:59 +00:00
objspace.h * ext/objspace/object_tracing.c: Add experimental methods to dump 2013-11-08 17:06:55 +00:00
objspace_dump.c ext/objspace/objspace_dump.c: print addresses consistently 2018-10-09 03:21:57 +00:00