ruby-changes:31217
From: tmm1 <ko1@a...>
Date: Wed, 16 Oct 2013 07:33:47 +0900 (JST)
Subject: [ruby-changes:31217] tmm1:r43296 (trunk): * gc.c (gc_mark_roots): rename roots to be categories instead of function names.
tmm1 2013-10-16 07:33:36 +0900 (Wed, 16 Oct 2013) New Revision: 43296 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=43296 Log: * gc.c (gc_mark_roots): rename roots to be categories instead of function names. Modified files: trunk/ChangeLog trunk/gc.c Index: ChangeLog =================================================================== --- ChangeLog (revision 43295) +++ ChangeLog (revision 43296) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Wed Oct 16 07:25:02 2013 Aman Gupta <ruby@t...> + + * gc.c (gc_mark_roots): rename roots to be categories + instead of function names. + Tue Oct 15 19:18:13 2013 Koichi Sasada <ko1@a...> * gc.h (rb_objspace_reachable_objects_from_root): added. Index: gc.c =================================================================== --- gc.c (revision 43295) +++ gc.c (revision 43296) @@ -3575,42 +3575,42 @@ gc_mark_roots(rb_objspace_t *objspace, i https://github.com/ruby/ruby/blob/trunk/gc.c#L3575 SET_STACK_END; th->vm->self ? rb_gc_mark(th->vm->self) : rb_vm_mark(th->vm); - MARK_CHECKPOINT("finalizer_table"); + MARK_CHECKPOINT("finalizers"); mark_tbl(objspace, finalizer_table); - MARK_CHECKPOINT("mark_current_machine_context"); + MARK_CHECKPOINT("machine_context"); mark_current_machine_context(objspace, th); - MARK_CHECKPOINT("rb_gc_mark_symbols"); + MARK_CHECKPOINT("symbols"); rb_gc_mark_symbols(full_mark); - MARK_CHECKPOINT("rb_gc_mark_encodings"); + MARK_CHECKPOINT("encodings"); rb_gc_mark_encodings(); /* mark protected global variables */ - MARK_CHECKPOINT("global_List"); + MARK_CHECKPOINT("global_list"); for (list = global_List; list; list = list->next) { rb_gc_mark_maybe(*list->varptr); } - MARK_CHECKPOINT("rb_mark_end_proc"); + MARK_CHECKPOINT("end_proc"); rb_mark_end_proc(); - MARK_CHECKPOINT("rb_gc_mark_global_tbl"); + MARK_CHECKPOINT("global_tbl"); rb_gc_mark_global_tbl(); /* mark generic instance variables for special constants */ - MARK_CHECKPOINT("rb_mark_generic_ivar_tbl"); + MARK_CHECKPOINT("generic_ivars"); rb_mark_generic_ivar_tbl(); - MARK_CHECKPOINT("rb_gc_mark_parser"); + MARK_CHECKPOINT("parser"); rb_gc_mark_parser(); - MARK_CHECKPOINT("rb_gc_mark_unlinked_live_method_entries"); + MARK_CHECKPOINT("live_method_entries"); rb_gc_mark_unlinked_live_method_entries(th->vm); /* marking-loop */ - MARK_CHECKPOINT("gc_mark_stacked_objects"); + MARK_CHECKPOINT("stacked_objects"); gc_mark_stacked_objects(objspace); MARK_CHECKPOINT("finish"); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/