[ruby-cvs:68872] ko1:r61691 (trunk): fix mark miss of Env (which is pointed by prev_ep).

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Jan 9 00:27:56 JST 2018


ko1	2018-01-09 00:27:56 +0900 (Tue, 09 Jan 2018)

  New Revision: 61691

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61691

  Log:
    fix mark miss of Env (which is pointed by prev_ep).
    
    * vm.c (rb_execution_context_mark): r61624 and r61659 introduce marking miss
      bug for Env objects as a prev_ep which is contained by Proc objects because
      Proc objects can be collected when they should be living and Env objects
      will collected unexpectedly. This patch solves this problem.

  Modified files:
    trunk/vm.c


More information about the ruby-cvs mailing list