summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorDaniel Colson <danieljamescolson@gmail.com>2025-09-09 11:55:00 -0400
committerGitHub <noreply@github.com>2025-09-09 08:55:00 -0700
commitfe362beb899a2b1a3d9012a4ad17b3c48d16b338 (patch)
treec3d6c1c4794ffce5e843e383bf9a7706351b6f56 /string.c
parentce94add7fbef17cbfa10de6a5554455542e1081c (diff)
ZJIT: Avoid mutating string in zjit stats (#14485)
[ZJIT] Avoid mutating string in zjit stats GitHub runs with a Symbol patch that causes a frozen string error when running `--zjit-stats` ```rb Class Symbol alias_method :to_s, :name end ``` I remember hearing that Shopify runs a similar patch, and that we might try to make this the default behavior in Ruby some day. Any chance we can avoid mutating the string here in case it's frozen? That does mean we'll end up making some extra strings when it's not frozen, but I think that's OK for printing stats.
Diffstat (limited to 'string.c')
0 files changed, 0 insertions, 0 deletions