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

Cristian Vat duke at openjdk.org
Thu Aug 10 12:06:29 UTC 2023


On Fri, 28 Jul 2023 08:40:30 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
>
> Shouldn't the similar change be in `CIBackRef.match` too? The fact current tests do not catch it makes me uneasy: the test coverage seems to be rather low there. 
> 
> We need a regex expert to look at it. @rgiulietti @igraves might help us out here?

@shipilev anything I should do to continue here?

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

PR Comment: https://git.openjdk.org/jdk/pull/14894#issuecomment-1673076902


More information about the core-libs-dev mailing list