[Bug #2024] memory leak in eval with TOPLEVEL_BINDING

Bug #2024: memory leak in eval with TOPLEVEL_BINDING
http://redmine.ruby-lang.org/issues/show/2024

e$B5/I<<Te(B: Usaku NAKAMURA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: Normal
e$B%+%F%4%je(B: core, Target version: 1.9.x
ruby -v: ruby 1.9.2dev (2009-08-31 trunk 24720) [i386-mswin32]

e$B0J2<$N%9%/%j%W%H$,L58B$K%a%b%j$r>CHq$7$^$9!#e(B
e$B$J$*e(B1.8e$B$G$OLdBj$"$j$^$;$s$7!“e(BTOPLEVEL_BINDINGe$B$NBe$o$j$Ke(Bbindinge$B$rEO$7$?>l9g$bLdBj$”$j$^$;$s!#e(B

loop do
eval("", TOPLEVEL_BINDING)
GC.start
end

e$B%A%1%C%He(B #2024 e$B$,99?7$5$l$^$7$?!#e(B (by Koichi Sasada)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r24726.

http://redmine.ruby-lang.org/issues/show/2024

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs