[code-reflection] RFR: Bytecode locals compaction [v3]

Adam Sotona asotona at openjdk.org
Wed Sep 11 08:18:57 UTC 2024


On Tue, 10 Sep 2024 23:28:09 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> Once you reach a stable point it will be very useful to describe the approach.

Yes, absolutely.

Thank you!

> src/java.base/share/classes/java/lang/reflect/code/bytecode/BytecodeLift.java line 275:
> 
>> 273:     }
>> 274: 
>> 275:     public static CoreOp.FuncOp lift(MethodModel methodModel, MethodHandles.Lookup lookup) {
> 
> Place the lookup as the first parameter, like for the bytecode generator and the interpreter

Oh, this is leftover from an experiment. I'll remove it, the lookup is not needed.

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

PR Comment: https://git.openjdk.org/babylon/pull/224#issuecomment-2342964168
PR Review Comment: https://git.openjdk.org/babylon/pull/224#discussion_r1753532848


More information about the babylon-dev mailing list