Integrated: 8368024: Remove StringConcatFactory#generateMHInlineCopy

Shaojin Wen swen at openjdk.org
Tue Sep 23 09:49:40 UTC 2025


On Thu, 18 Sep 2025 21:11:54 GMT, Shaojin Wen <swen at openjdk.org> wrote:

> With the introduction of [8336856: Efficient hidden class-based string concatenation strategy](https://github.com/openjdk/jdk/pull/20273) , the StringConcatFactory#generateMHInlineCopy method is no longer used by default.
> 
> After a year of community use, the InlineHiddenClassStrategy has proven to work well, so I recommend removing the implementation of StringConcatFactory#generateMHInlineCopy.

This pull request has now been integrated.

Changeset: e122f4dd
Author:    Shaojin Wen <swen at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/e122f4dd0d00b6b7d95e5af118af72db2dfdcc85
Stats:     783 lines in 5 files changed: 1 ins; 780 del; 2 mod

8368024: Remove StringConcatFactory#generateMHInlineCopy

Reviewed-by: redestad

-------------

PR: https://git.openjdk.org/jdk/pull/27374


More information about the core-libs-dev mailing list