Re: RFR: 8305785: Avoid redundant HashMap.containsKey call in java.util.regex

2023-05-14 Thread Andrey Turbanov
On Mon, 3 Apr 2023 16:58:15 GMT, Andrey Turbanov wrote: > `Pattern.namedGroups` and `Matcher.namedGroups` contains only non-null > values. It means instead of separate `containsKey`+`get` calls, we can use > single `HashMap.get` call and then compare result with null. > Result code is a bit sim

RFR: 8307795: AArch64: Optimize VectorMask.truecount() on Neon

2023-05-14 Thread Chang Peng
In Vector API Java level, vector mask is represented as a boolean array with 0x00/0x01 (8 bits of each element) as values, aka in-memory format. When it is loaded into vector register, e.g. Neon, the in-memory format will be converted to in-register format with 0/-1 value for each lane (lane wid

RFR: JDK-8308049: Refactor nested class declarations in FdLibm.java

2023-05-14 Thread Joe Darcy
Make the nested classes inside FdLibm.java consistently package-access, static and final. - Commit messages: - JDK-8308049: Refactor nested class declarations in FdLibm.java Changes: https://git.openjdk.org/jdk/pull/13972/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=1397

Re: RFR: 8307990: jspawnhelper must close its writing side of a pipe before reading from it

2023-05-14 Thread Thomas Stuefe
On Fri, 12 May 2023 15:24:19 GMT, Volker Simonis wrote: > Since JDK13, executing commands in a sub-process defaults to the so called > `POSIX_SPAWN` launching mechanism (i.e. > `-Djdk.lang.Process.launchMechanism=POSIX_SPAWN`) on Linux. This works by > using `posix_spawn(3)` to firstly start a

Integrated: 8307163: JLONG_FORMAT_SPECIFIER should be updated on Windows

2023-05-14 Thread Julian Waters
On Mon, 1 May 2023 16:25:23 GMT, Julian Waters wrote: > Windows no longer uses I64d anywhere in their newer compilers, instead using > the conforming lld specifiers. Minor cleanup here in JLI code to reflect that This pull request has now been integrated. Changeset: 0ee196be Author:Julian

Re: RFR: 8307163: JLONG_FORMAT_SPECIFIER should be updated on Windows [v2]

2023-05-14 Thread Thomas Stuefe
On Tue, 2 May 2023 12:23:23 GMT, Julian Waters wrote: >> Windows no longer uses I64d anywhere in their newer compilers, instead using >> the conforming lld specifiers. Minor cleanup here in JLI code to reflect that > > Julian Waters has updated the pull request incrementally with one additional

Re: RFR: 8307163: JLONG_FORMAT_SPECIFIER should be updated on Windows [v2]

2023-05-14 Thread Julian Waters
On Tue, 2 May 2023 12:23:23 GMT, Julian Waters wrote: >> Windows no longer uses I64d anywhere in their newer compilers, instead using >> the conforming lld specifiers. Minor cleanup here in JLI code to reflect that > > Julian Waters has updated the pull request incrementally with one additional