Comment about not marking RSYMBOL(obj)->fstr [ci skip]
This commit is contained in:
parent
21297293f4
commit
5add999dee
6
gc.c
6
gc.c
@ -7358,8 +7358,10 @@ gc_mark_children(rb_objspace_t *objspace, VALUE obj)
|
|||||||
case T_FLOAT:
|
case T_FLOAT:
|
||||||
case T_BIGNUM:
|
case T_BIGNUM:
|
||||||
case T_SYMBOL:
|
case T_SYMBOL:
|
||||||
/* Not immediates, but does not have references and singleton
|
/* Not immediates, but does not have references and singleton class.
|
||||||
* class */
|
*
|
||||||
|
* RSYMBOL(obj)->fstr intentionally not marked. See log for 96815f1e
|
||||||
|
* ("symbol.c: remove rb_gc_mark_symbols()") */
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case T_NIL:
|
case T_NIL:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user