mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 04:07:58 +00:00
Allow symbols to move in compaction
This commit is contained in:
parent
c34c7def5a
commit
6e480e6714
Notes:
git
2026-01-15 22:58:01 +00:00
@ -6872,12 +6872,6 @@ gc_is_moveable_obj(rb_objspace_t *objspace, VALUE obj)
|
||||
case T_ZOMBIE:
|
||||
return FALSE;
|
||||
case T_SYMBOL:
|
||||
// TODO: restore original behavior
|
||||
// if (RSYMBOL(obj)->id & ~ID_SCOPE_MASK) {
|
||||
// return FALSE;
|
||||
// }
|
||||
return false;
|
||||
/* fall through */
|
||||
case T_STRING:
|
||||
case T_OBJECT:
|
||||
case T_FLOAT:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user