1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/objspace
tmm1 7170baa878 objspace_dump.c: include object's gc flags in dump
* ext/objspace/objspace_dump.c (dump_object): include fstring flag on
  strings. include gc flags (old, remembered, wb_protected) on all objects.
* ext/objspace/objspace_dump.c (Init_objspace_dump): initialize lazy
  IDs before first use.
* gc.c (rb_obj_gc_flags): new function to retrieve object flags
* internal.h (RB_OBJ_GC_FLAGS_MAX): maximum flags allowed for one obj
* test/objspace/test_objspace.rb (test_dump_flags): test for above
* test/objspace/test_objspace.rb (test_trace_object_allocations):
  resolve name before dump (for rb_class_path_cached)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-12-10 02:26:09 +00:00
..
depend * ext/objspace/object_tracing.c: Add experimental methods to dump 2013-11-08 17:06:55 +00:00
extconf.rb objspace_dump.c: refine output 2013-11-14 16:06:09 +00:00
object_tracing.c object_tracing.c: fix allocation from NEWOBJ hook 2013-12-09 03:26:07 +00:00
objspace.c ext/objspace: remove OS.after_gc_start_hook= and move internal test 2013-12-05 09:24:02 +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 objspace_dump.c: include object's gc flags in dump 2013-12-10 02:26:09 +00:00