Comment about not marking RSYMBOL(obj)->fstr [ci skip]

This commit is contained in:
Alan Wu 2024-02-13 13:54:20 -05:00
parent 21297293f4
commit 5add999dee

6
gc.c
View File

@ -7358,8 +7358,10 @@ gc_mark_children(rb_objspace_t *objspace, VALUE obj)
case T_FLOAT:
case T_BIGNUM:
case T_SYMBOL:
/* Not immediates, but does not have references and singleton
* class */
/* Not immediates, but does not have references and singleton class.
*
* RSYMBOL(obj)->fstr intentionally not marked. See log for 96815f1e
* ("symbol.c: remove rb_gc_mark_symbols()") */
return;
case T_NIL: