RFR: 8339683: Simplify class data generation in InvokerBytecodeGenerator [v2]

Chen Liang liach at openjdk.org
Fri Sep 6 21:12:03 UTC 2024


On Fri, 6 Sep 2024 19:55:38 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Elide duplicate field CP entry creation, and reuse elements in the field CP entry for field generation.
>
> Chen Liang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Do not try to classdata non-live lambda forms in pre-generation

pregen never kept class data, as they never call clinit generation. so this was silently discarded in pregen. The class name and class desc are wrong for pregen but they happen to be never used. new logic generates unused and wrong fieldref in invoker holder, and this update fixes it.

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

PR Comment: https://git.openjdk.org/jdk/pull/20896#issuecomment-2334814119


More information about the core-libs-dev mailing list