[前][次][番号順一覧][スレッド一覧]

ruby-changes:33464

From: akr <ko1@a...>
Date: Wed, 9 Apr 2014 23:32:04 +0900 (JST)
Subject: [ruby-changes:33464] akr:r45543 (trunk): Add comment.

akr	2014-04-09 23:32:01 +0900 (Wed, 09 Apr 2014)

  New Revision: 45543

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45543

  Log:
    Add comment.

  Modified files:
    trunk/gc.c
Index: gc.c
===================================================================
--- gc.c	(revision 45542)
+++ gc.c	(revision 45543)
@@ -3507,6 +3507,9 @@ mark_current_machine_context(rb_objspace https://github.com/ruby/ruby/blob/trunk/gc.c#L3507
     /* This assumes that all registers are saved into the jmp_buf (and stack) */
     rb_setjmp(save_regs_gc_mark.j);
 
+    /* SET_STACK_END must be called in this function because
+     * the stack frame of this function may contain
+     * callee save registers and they should be marked. */
     SET_STACK_END;
     GET_STACK_BOUNDS(stack_start, stack_end, 1);
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]