Re: RFR: 8331264: Reduce java.lang.constant initialization overhead [v2]

2024-04-29 Thread Claes Redestad
On Mon, 29 Apr 2024 12:18:15 GMT, Chen Liang wrote: >> Claes Redestad has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Descriptors can't be empty, optimize isArray and isClassOrInterface with >> descriptorString().charAt(0) == > > src/ja

Re: RFR: 8331264: Reduce java.lang.constant initialization overhead [v2]

2024-04-29 Thread Chen Liang
On Mon, 29 Apr 2024 12:14:17 GMT, Claes Redestad wrote: >> I'm looking at ways at reducing/eliminating startup overheads the classfile >> API in preparation of #17108, and have pushed a series of enhancements to >> that effect already. This PR is a collection of minor improvements which add >>

Re: RFR: 8331264: Reduce java.lang.constant initialization overhead [v2]

2024-04-29 Thread Claes Redestad
> I'm looking at ways at reducing/eliminating startup overheads the classfile > API in preparation of #17108, and have pushed a series of enhancements to > that effect already. This PR is a collection of minor improvements which add > up to a 1.5% reduction in retired instructions - or a 5% redu