Re: RFR: 8315968: Consolidate java.util.Digits and StringLatin1::PACKED_DIGITS [v5]

2023-09-10 Thread Yi Yang
On Mon, 11 Sep 2023 01:12:25 GMT, 温绍锦 wrote: >> Some codes in core libs are duplicated, including: >> java.util.DecimalDigits::DIGITS -> java.lang.StringLatin1.PACKED_DIGITS >> java.util.DecimalDigits::size -> java.lang.Long.stringSize >> >> We can reduce duplication through JavaLangAccess,

Re: RFR: 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field [v2]

2023-03-02 Thread Yi Yang
On Mon, 27 Feb 2023 18:45:44 GMT, Vladimir Kozlov wrote: >>> Testing results seem good. Except one strange failure I put in >>> [JDK-8143900](https://bugs.openjdk.org/browse/JDK-8143900) comment. You >>> need second review. >> >> This seems related to

Integrated: 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field

2023-03-02 Thread Yi Yang
On Tue, 21 Feb 2023 02:29:44 GMT, Yi Yang wrote: > Hi, can I have a review for this patch? I noticed a strange field > Integer.sizeTable which is used by PhaseStringOpts, after digging into the > history, I think it could be replaced by an in-place array allocation and > in

Re: RFR: 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field [v3]

2023-02-26 Thread Yi Yang
er.sizeTable and get num > of digit in integer by iterating size table, now we fetch from in-place > sizeTable and get size from that. The changed IR looks like this: > > ![image](https://user-images.githubusercontent.com/5010047/220239446-7b8b8381-b300-4f2c-a24a-aa19ec9e2f88.png) > >

Re: RFR: 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field [v2]

2023-02-26 Thread Yi Yang
On Sat, 25 Feb 2023 01:34:40 GMT, Vladimir Kozlov wrote: > Testing results seem good. Except one strange failure I put in > [JDK-8143900](https://bugs.openjdk.org/browse/JDK-8143900) comment. You need > second review. This seems related to https://bugs.openjdk.org/browse/JDK-8296914

Re: RFR: 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field

2023-02-24 Thread Yi Yang
On Tue, 21 Feb 2023 02:29:44 GMT, Yi Yang wrote: > Hi, can I have a review for this patch? I noticed a strange field > Integer.sizeTable which is used by PhaseStringOpts, after digging into the > history, I think it could be replaced by an in-place array allocation and > in

Re: RFR: 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field [v2]

2023-02-24 Thread Yi Yang
er.sizeTable and get num > of digit in integer by iterating size table, now we fetch from in-place > sizeTable and get size from that. The changed IR looks like this: > > ![image](https://user-images.githubusercontent.com/5010047/220239446-7b8b8381-b300-4f2c-a24a-aa19ec9e2f88.png) > >

RFR: 8143900: OptimizeStringConcat has an opaque dependency on Integer.sizeTable field

2023-02-20 Thread Yi Yang
Hi, can I have a review for this patch? I noticed a strange field Integer.sizeTable, after digging into its history, I think it could be replaced by an in-place array allocation and initialization. Thanks. - Commit messages: - 8143900 OptimizeStringConcat has an opaque dependency

Re: RFR: 8297385: Remove duplicated null typos in javadoc [v2]

2022-11-22 Thread Yi Yang
On Wed, 23 Nov 2022 06:45:26 GMT, Dongxu Wang wrote: >> 8297385: Remove duplicated null typos in javadoc > > Dongxu Wang has updated the pull request with a new target base due to a > merge or a rebase. The incremental webrev excludes the unrelated changes > brought in by the merge/rebase. The

Re: RFR: 8297385: Remove duplicated null typos in javadoc

2022-11-21 Thread Yi Yang
On Tue, 15 Nov 2022 15:05:45 GMT, Dongxu Wang wrote: > 8297385: Remove duplicated null typos in javadoc good catch, do you need a JBS issue for this? - PR: https://git.openjdk.org/jdk/pull/11169

Re: RFR: 8297385: Remove duplicated null typos in javadoc

2022-11-21 Thread Yi Yang
On Tue, 22 Nov 2022 02:22:20 GMT, Dongxu Wang wrote: > > good catch, do you need a JBS issue for this? > > Thank you if you can help with that. I filed https://bugs.openjdk.org/browse/JDK-8297385 for this, you can change your PR title and commit message to [8297385: Remove duplicated null