[code-reflection] RFR: Reduce number of local variables when transforming code model builder to AST [v2]
Paul Sandoz
psandoz at openjdk.org
Thu Apr 24 22:31:00 UTC 2025
On Thu, 24 Apr 2025 04:05:45 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:
>> For CODE_BUILDER option, we transform code model builder to equivalent AST. We were introducing local variables for very expressions, as a result we were closer to the limit on local variables. In this PR, we add local variables where it's needed.
>
> Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:
>
> Apply Paul's comments
I notice we are generating the `LocalVariableTable` which also means the local variable names get placed in the constant pool. Perhaps there is a way to avoid generating that for this method as i think it provides little value for debugging?
-------------
PR Comment: https://git.openjdk.org/babylon/pull/410#issuecomment-2828997354
More information about the babylon-dev
mailing list