[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67272] Re: [ruby-trunk - Bug #10686] [Open] Memory leaking from torture test of symbol GC

From: Eric Wong <normalperson@...>
Date: 2015-01-01 00:50:31 UTC
List: ruby-core #67272
This seems to fix it:

--- a/symbol.c
+++ b/symbol.c
@@ -664,6 +664,7 @@ rb_gc_free_dsymbol(VALUE sym)
     if (str) {
 	RSYMBOL(sym)->fstr = 0;
 	unregister_sym(str, sym);
+	rb_hash_delete(global_symbols.dsymbol_fstr_hash, str);
     }
 }
 

http://80x24.org/spew/m/85a6346bf10d3f37fecb4926a57699fbd82b45b6.txt

In This Thread

Prev Next