From: "peterzhu2118 (Peter Zhu) via ruby-core" <ruby-core@...>
Date: 2023-01-09T16:45:25+00:00
Subject: [ruby-core:111746] [Ruby master Bug#19327] Backport commits 3be2acfafd3b3c6168e2266c7c6561d143d7ae5c and 9726736006b3f74635fd8af05814fe0908e2cf84

Issue #19327 has been reported by peterzhu2118 (Peter Zhu).

----------------------------------------
Bug #19327: Backport commits 3be2acfafd3b3c6168e2266c7c6561d143d7ae5c and 9726736006b3f74635fd8af05814fe0908e2cf84
https://bugs.ruby-lang.org/issues/19327

* Author: peterzhu2118 (Peter Zhu)
* Status: Closed
* Priority: Normal
* Backport: 2.7: DONTNEED, 3.0: DONTNEED, 3.1: DONTNEED, 3.2: REQUIRED
----------------------------------------
Please backport commits [3be2acfafd3b3c6168e2266c7c6561d143d7ae5c](https://github.com/ruby/ruby/commit/3be2acfafd3b3c6168e2266c7c6561d143d7ae5c) and [9726736006b3f74635fd8af05814fe0908e2cf84](https://github.com/ruby/ruby/commit/9726736006b3f74635fd8af05814fe0908e2cf84).

This commits fixes a bug where string objects are not correctly re-embedding during GC compaction.



-- 
https://bugs.ruby-lang.org/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/