Reverted gc.c modification


#1

e$B$U$H!"0JA09T$C$?0J2<$NJQ99$,e(B Merge YARV e$B$N$H$-$K$J$/$J$C$F$$e(B
e$B$k$3$H$K5$$,$D$-$^$7$?!#e(B

YARV e$B$G$OITMW$J$N$G$7$g$&$+e(B?

Mon Jul 10 19:22:19 2006 Tanaka A. removed_email_address@domain.invalid

    * gc.c (gc_sweep): expand heap earlier.
      reported by MORITA Naoyuki.  [ruby-dev:28960]

Tue Jan 10 19:42:33 2006 Tanaka A. removed_email_address@domain.invalid

    * gc.c (garbage_collect): mark ruby_current_node.
      if an exception is raised in a finalizer written in C called 

by
rb_gc_call_finalizer_at_exit, ruby_set_current_source may use
collected ruby_current_node and mark_source_filename may
corrupt
memory.


#2

e$B!!$5$5$@$G$9!#e(B

Tanaka A. wrote:

e$B$U$H!"0JA09T$C$?0J2<$NJQ99$,e(B Merge YARV e$B$N$H$-$K$J$/$J$C$F$$e(B
e$B$k$3$H$K5$$,$D$-$^$7$?!#e(B

YARV e$B$G$OITMW$J$N$G$7$g$&$+e(B?

e$B!!$9$Y$F$NJQ99$r@5$7$/GD0.$7!"E,@Z$K%^!<%8$9$k$3$H$O=PMh$F$$$Je(B
e$B$$$H;W$$$^$9!#$3$NE@$K4X$7$F$OITMW$G$O$J$$$H;W$$$^$9!#%^!<%8$7e(B
e$B$F$b$i$&$3$H$O$G$-$^$9$G$7$g$&$+!#e(B

e$B!!$b$&0lEY!"%^!<%8;~E@$Ne(B diff e$B$N@:::$,I,MW$+$J$"!#%^!<%8;~E@e(B
e$B$G!"$"$kDxEY$O$d$C$?$D$b$j$@$C$?$s$G$9$,!"e(Bgc.c
e$B$OJQ99$,B?$+$Ce(B
e$B$?$N$GDI$$$D$1$F$J$+$C$?$h$&$G$9!#F1$8$3$H$O!"e(Beval.c
e$B$K$D$$$Fe(B
e$B$b8@$($k$+$H;W$$$^$9!#$[$+!“5$IU$$$?%^!<%8O3$l$,$”$l$P$4;XE&D:e(B
e$B$1$l$P9,$$$G$9!#e(B