[code-reflection] RFR: Reduce number of local variables when transforming code model builder to AST [v2]
Mourad Abbay
mabbay at openjdk.org
Fri Apr 25 00:19:49 UTC 2025
On Thu, 24 Apr 2025 22:27:59 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:
> 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?
>
> Compiling with and without `-g` can show the approximate difference. I believe for larger models it can be significant.
There is a way. I added the flag SYNTHETIC to the var symbol.
-------------
PR Comment: https://git.openjdk.org/babylon/pull/410#issuecomment-2829104649
More information about the babylon-dev
mailing list