summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-15 22:33:36 +0000
committertmm1 <tmm1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-10-15 22:33:36 +0000
commit2370e623c4931957b3397782f3eabf709d5f3391 (patch)
tree05ed50e392d7bb0e1c09b54dba1e5c1699da54e6
parent4d94977775fff6c5fb8d6350e5627d294d27350a (diff)
* gc.c (gc_mark_roots): rename roots to be categories instead of function names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--gc.c22
2 files changed, 16 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index c3ca3a5..4ee373b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Oct 16 07:25:02 2013 Aman Gupta <ruby@tmm1.net>
+
+ * gc.c (gc_mark_roots): rename roots to be categories
+ instead of function names.
+
Tue Oct 15 19:18:13 2013 Koichi Sasada <ko1@atdot.net>
* gc.h (rb_objspace_reachable_objects_from_root): added.
diff --git a/gc.c b/gc.c
index b127dd8..6830e78 100644
--- a/gc.c
+++ b/gc.c
@@ -3575,42 +3575,42 @@ gc_mark_roots(rb_objspace_t *objspace, int full_mark, const char **categoryp)
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");