Skip to content
  • Peter Zhu's avatar
    80ea7fba
    Pin embedded shared strings · 80ea7fba
    Peter Zhu authored
    Embedded shared strings cannot be moved because strings point into the
    slot of the shared string. There may be code using the RSTRING_PTR on
    the stack, which would pin the string but not pin the shared string,
    causing it to move.
    80ea7fba
    Pin embedded shared strings
    Peter Zhu authored
    Embedded shared strings cannot be moved because strings point into the
    slot of the shared string. There may be code using the RSTRING_PTR on
    the stack, which would pin the string but not pin the shared string,
    causing it to move.
Loading