Re: RFR: 8339799: Reduce work done in j.l.invoke bytecode generators

2024-09-10 Thread Claes Redestad
On Tue, 10 Sep 2024 13:28:55 GMT, Chen Liang wrote: > After all, this patch will still be valid with ClassEntry hash updates. Thanks for checking and reviewing! - PR Comment: https://git.openjdk.org/jdk/pull/20925#issuecomment-2340800697

Re: RFR: 8339799: Reduce work done in j.l.invoke bytecode generators

2024-09-10 Thread Chen Liang
On Mon, 9 Sep 2024 22:53:28 GMT, Claes Redestad wrote: > Misc improvements to InnerClassLambdaMetafactory and InvokerBytecodeGenerator: > - Define `ClassEntry` early, use it when profitable (there are some warts in > the API where using `ce.name(), ce.type()` in a few places means we drop the >

Re: RFR: 8339799: Reduce work done in j.l.invoke bytecode generators

2024-09-09 Thread Claes Redestad
On Mon, 9 Sep 2024 23:27:14 GMT, Chen Liang wrote: >> Misc improvements to InnerClassLambdaMetafactory and >> InvokerBytecodeGenerator: >> - Define `ClassEntry` early, use it when profitable (there are some warts in >> the API where using `ce.name(), ce.type()` in a few places means we drop the

Re: RFR: 8339799: Reduce work done in j.l.invoke bytecode generators

2024-09-09 Thread Chen Liang
On Mon, 9 Sep 2024 22:53:28 GMT, Claes Redestad wrote: > Misc improvements to InnerClassLambdaMetafactory and InvokerBytecodeGenerator: > - Define `ClassEntry` early, use it when profitable (there are some warts in > the API where using `ce.name(), ce.type()` in a few places means we drop the >

RFR: 8339799: Reduce work done in j.l.invoke bytecode generators

2024-09-09 Thread Claes Redestad
Misc improvements to InnerClassLambdaMetafactory and InvokerBytecodeGenerator: - Define `ClassEntry` early, use it when profitable (there are some warts in the API where using `ce.name(), ce.type()` in a few places means we drop the link to the `ClassDesc` which will then be re-spun in later - sh