From: Yukihiro Matsumoto Date: 2012-02-10T23:49:21+09:00 Subject: Re: Symbol garbage collection Hi, In message "Re: Symbol garbage collection" on Fri, 10 Feb 2012 23:37:06 +0900, Sigurd writes: |Hi, |Ruby store all object, method and variable names as a symbols. That's why symbol GC might be dangerous. |The only thing i'm not clear about is the rb_gc_mark_symbols method that is implemented in parse.y and is called for every GC round. |Can someone explain what's its purpose? In 1.9, symbol names are stored as Ruby strings, so that they have to be marked to avoid reclaiming. matz.