On Tue, 20 May 2025 08:26:20 GMT, Per Minborg <pminb...@openjdk.org> wrote:
> I wonder if it would be better to first check `COMPACT_STRINGS` in a > first-level `if` and then branch off to separate support methods? Looking at > the comments near the declaration of `COMPACT_STRINGS`, this might provide > additional benefits. Now all the broken methods have CodeSize < 325 and can be inlined by C2. If we check COMPACT_STRINGS at the first level, we need to change more. I want to achieve the goal with minimal changes. ------------- PR Comment: https://git.openjdk.org/jdk/pull/25290#issuecomment-2893507842