Re: RFR: 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles [v4]

2023-12-18 Thread Adam Sotona
> java.base java.lang.invoke package heavily uses ASM to generate lambdas and 
> method handles.
> 
> This patch converts ASM calls to Classfile API.
> 
> This PR is continuation of https://github.com/openjdk/jdk/pull/12945
> 
> Any comments and suggestions are welcome.
> 
> Please review.
> 
> Thank you,
> Adam

Adam Sotona has updated the pull request incrementally with one additional 
commit since the last revision:

  Apply suggestions from code review
  
  Co-authored-by: liach <7806504+li...@users.noreply.github.com>

-

Changes:
  - all: https://git.openjdk.org/jdk/pull/17108/files
  - new: https://git.openjdk.org/jdk/pull/17108/files/8fee4564..098df109

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=17108&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=17108&range=02-03

  Stats: 145 lines in 7 files changed: 51 ins; 55 del; 39 mod
  Patch: https://git.openjdk.org/jdk/pull/17108.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17108/head:pull/17108

PR: https://git.openjdk.org/jdk/pull/17108


Re: RFR: 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles [v4]

2023-12-20 Thread Mandy Chung
On Mon, 18 Dec 2023 11:03:10 GMT, Adam Sotona  wrote:

>> java.base java.lang.invoke package heavily uses ASM to generate lambdas and 
>> method handles.
>> 
>> This patch converts ASM calls to Classfile API.
>> 
>> This PR is continuation of https://github.com/openjdk/jdk/pull/12945
>> 
>> Any comments and suggestions are welcome.
>> 
>> Please review.
>> 
>> Thank you,
>> Adam
>
> Adam Sotona has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Apply suggestions from code review
>   
>   Co-authored-by: liach <7806504+li...@users.noreply.github.com>

Can you include the performance comparison before and after this change and 
what performance benchmarks you run?

-

PR Comment: https://git.openjdk.org/jdk/pull/17108#issuecomment-1865109693


Re: RFR: 8294960: Convert java.base/java.lang.invoke package to use the Classfile API to generate lambdas and method handles [v4]

2023-12-20 Thread Adam Sotona
On Wed, 20 Dec 2023 20:39:55 GMT, Mandy Chung  wrote:

> Can you include the performance comparison before and after this change and 
> what performance benchmarks you run?

I've run two batches on Aurora with mixed results (linked to 
[JDK-8294960](https://bugs.openjdk.org/browse/JDK-8294960)): 
`org.openjdk.bech.java.lang.invoke.+` and startup benchmarks

I can attach some of them here if needed.

-

PR Comment: https://git.openjdk.org/jdk/pull/17108#issuecomment-1865359565