RFR: 8311939: Excessive allocation of Matcher.groups array [v2]

Cristian Vat duke at openjdk.org
Fri Jul 28 12:15:21 UTC 2023


On Fri, 28 Jul 2023 08:25:55 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Cristian Vat has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   reduce allocations also for Matcher.usePattern
>
> src/java.base/share/classes/java/util/regex/Pattern.java line 5190:
> 
>> 5188:         }
>> 5189:         boolean match(Matcher matcher, int i, CharSequence seq) {
>> 5190: 
> 
> Excess new line.

line removed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14894#discussion_r1277471042


More information about the core-libs-dev mailing list