On Mon, 15 Jul 2024 01:45:57 GMT, Chen Liang <li...@openjdk.org> wrote:
> The `@Stable` on the `index` field is incorrect, as stable only avoids > inlining `0`. On a strategic view, this index field should just become final > so that `Name` becomes eligible for value class migration once valhalla > comes. This patch makes the `index` field final and updates the usages > correspondingly. This pull request has now been integrated. Changeset: aabec4a9 Author: Chen Liang <li...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/aabec4a947ed2a808a1443fa6b2dabedd8c2dd9f Stats: 51 lines in 1 file changed: 4 ins; 28 del; 19 mod 8335922: Incorrect @Stable usage of LambdaForm$Name.index Reviewed-by: jvernee, shade ------------- PR: https://git.openjdk.org/jdk/pull/20178