Re: RFR: 8304450: [vectorapi] Refactor VectorShuffle implementation [v7]

2023-04-11 Thread Quan Anh Mai
On Tue, 11 Apr 2023 17:47:56 GMT, Jatin Bhateja wrote: >> Quan Anh Mai has updated the pull request incrementally with one additional >> commit since the last revision: >> >> special case iotaShuffle > > Marked as reviewed by jbhateja (Reviewer). @jatin-bhateja @iwanowww Thanks a lot for you

Re: RFR: 8305734: Fixes bug in get(int, int)

2023-04-11 Thread Alan Bateman
On Fri, 7 Apr 2023 12:22:03 GMT, Andy-Tatman wrote: > See https://bugs.java.com/bugdatabase/view_bug?bug_id=8305734 The BitSet API requires that the logical size fit in an int so I think you'll end up changing the set methods to disallow an index of MAX_VALUE. Can you change the title of the P

Re: RFR: 8305875: Test TraceVirtualThreadLocals should be run with continuations only

2023-04-11 Thread Alan Bateman
On Wed, 12 Apr 2023 06:13:04 GMT, David Holmes wrote: > Sorry, have to ask, but why does the test fail without continuations? IIRC > the emulated VTs use a carrier-per-VT so I would expect the ThreadLocal test > to work just fine. The debugging option is for the VirtualThread implementation on

Re: RFR: 8305875: Test TraceVirtualThreadLocals should be run with continuations only

2023-04-11 Thread Leonid Mesnik
On Tue, 11 Apr 2023 23:38:23 GMT, Leonid Mesnik wrote: > Test TraceVirtualThreadLocals verifies that thread locals are dumped for > virtual threads. It fails when continuations are not available and virtual > threads are emulated. > > The test failed on linux-x86 so I just want to mark it to h

Re: RFR: 8305875: Test TraceVirtualThreadLocals should be run with continuations only

2023-04-11 Thread David Holmes
On Tue, 11 Apr 2023 23:38:23 GMT, Leonid Mesnik wrote: > Test TraceVirtualThreadLocals verifies that thread locals are dumped for > virtual threads. It fails when continuations are not available and virtual > threads are emulated. > > The test failed on linux-x86 so I just want to mark it to h

RFR: 8305875: Test TraceVirtualThreadLocals should be run with continuations only

2023-04-11 Thread Leonid Mesnik
Test TraceVirtualThreadLocals verifies that thread locals are dumped for virtual threads. It fails when continuations are not available and virtual threads are emulated. The test failed on linux-x86 so I just want to mark it to have green github actions results. - Commit messages:

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v10]

2023-04-11 Thread Amit Kumar
On Tue, 11 Apr 2023 18:07:41 GMT, Martin Doerr wrote: > Another remark: Old JDK on s390 used "os.arch = zArch_64", current one > "os.arch = s390x". @offamitkumar: You probably want to take a look. Martin, only concern was that I didn't have a good experience with `s390x` string in [past](http

Re: RFR: 8305846: Support compilation in Proc test utility

2023-04-11 Thread David Holmes
On Tue, 11 Apr 2023 13:40:39 GMT, Weijun Wang wrote: > Enhance the `Proc` utility to support compilation. test/lib/jdk/test/lib/process/Proc.java line 331: > 329: > 330: if (compile) { > 331: var comp = CompilerUtils.compile( I don't find this use of `var` helpful - `var`

Re: RFR: 8305846: Support compilation in Proc test utility

2023-04-11 Thread David Holmes
On Tue, 11 Apr 2023 13:40:39 GMT, Weijun Wang wrote: > Enhance the `Proc` utility to support compilation. test/lib/jdk/test/lib/process/Proc.java line 274: > 272: } > 273: // Compile as well > 274: public Proc compile() throws IOException { Why "throws IOException" ? I'm surprised

Re: RFR: 8305341: Alignment should be enforced by alignas instead of compiler specific attributes [v3]

2023-04-11 Thread Kim Barrett
On Sat, 8 Apr 2023 13:24:37 GMT, Julian Waters wrote: >> C11 has been stable for a long time on all platforms, so native code can use >> the standard alignas operator for alignment requirements > > Julian Waters has updated the pull request incrementally with one additional > commit since the l

Re: RFR: 8305341: Alignment should be enforced by alignas instead of compiler specific attributes [v3]

2023-04-11 Thread Kim Barrett
On Sat, 8 Apr 2023 13:24:37 GMT, Julian Waters wrote: >> C11 has been stable for a long time on all platforms, so native code can use >> the standard alignas operator for alignment requirements > > Julian Waters has updated the pull request incrementally with one additional > commit since the l

Re: Draft: Deprecate toLowerCase()/toUpperCase() and provide locale insensitive alternative

2023-04-11 Thread Archie Cobbs
On Tue, Apr 11, 2023 at 4:52 PM Glavo wrote: > i'm not sure that the methods lowercase() and uppercase() are a good >> addition. >> Their names are too close to toLowerCase/toUpperCase thus too easy to >> misuse ones for the others. >> > > I'm fine with users having to write toLowerCase(Locale.R

Re: RFR: JDK-8295859 Update Manual Test Groups [v3]

2023-04-11 Thread Bill Huang
> The purpose of this task is to add the difference between -manual jdk_core > and jdk_core_manual to the jdk_core_manual test goal. Furthermore, in order > to streamline the manual test execution process, a new test group called > jdk_core_manual_human has been created for manual tests that dem

Re: RFR: JDK-8295859 Update Manual Test Groups [v2]

2023-04-11 Thread Bill Huang
On Tue, 11 Apr 2023 20:50:28 GMT, Mark Sheppard wrote: >> Bill Huang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Implemented review comments. > > test/jdk/TEST.groups line 643: > >> 641: sun/security/tools/jarsigner/compatibilit

Re: Draft: Deprecate toLowerCase()/toUpperCase() and provide locale insensitive alternative

2023-04-11 Thread Glavo
> I'm fine with users having to write toLowerCase(Locale.ROOT) or toUpperCase(Locale.Root) because this is already what we teach. This is the current situation, but I don't think it is good. This idiom forces users to import Locale even in locale-insensitive scenarios. I think this brings a lot

Re: RFR: 8305734: Fixes bug in get(int, int)

2023-04-11 Thread Chen Liang
On Fri, 7 Apr 2023 12:22:03 GMT, Andy-Tatman wrote: > See https://bugs.java.com/bugdatabase/view_bug?bug_id=8305734 I think what Alan suggested in JBS is better: explicitly reject setting Integer.MAX_VALUE bit so that `len` will never return negative. - PR Comment: https://git.ope

Re: RFR: 8305734: Fixes bug in get(int, int)

2023-04-11 Thread ExE Boss
On Fri, 7 Apr 2023 12:22:03 GMT, Andy-Tatman wrote: > See https://bugs.java.com/bugdatabase/view_bug?bug_id=8305734 src/java.base/share/classes/java/util/BitSet.java line 653: > 651: > 652: int len = length(); > 653: if ( len < 0 ) Suggestion: if (len < 0) --

RFR: 8305734: Fixes bug in get(int, int)

2023-04-11 Thread Andy-Tatman
See https://bugs.java.com/bugdatabase/view_bug?bug_id=8305734 - Commit messages: - Update src/java.base/share/classes/java/util/BitSet.java - Removed trailing whitespace - 8305734: Fixes bug in get(int, int) Changes: https://git.openjdk.org/jdk/pull/13388/files Webrev: https://we

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v12]

2023-04-11 Thread Glavo
On Tue, 11 Apr 2023 21:09:43 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v12]

2023-04-11 Thread Roger Riggs
> Define an internal jdk.internal.util.Architecture enumeration and static > methods to replace uses of the system property `os.arch`. > The enumeration values are defined to match those used in the build. > The initial values are: `X64, X86, AARCH64, RISCV64, S390, PPC64` > Note that `amd64` and

Re: RFR: JDK-8295859 Update Manual Test Groups [v2]

2023-04-11 Thread Mark Sheppard
On Mon, 20 Mar 2023 23:29:25 GMT, Bill Huang wrote: >> The purpose of this task is to add the difference between -manual jdk_core >> and jdk_core_manual to the jdk_core_manual test goal. Furthermore, in order >> to streamline the manual test execution process, a new test group called >> jdk_co

Re: Draft: Deprecate toLowerCase()/toUpperCase() and provide locale insensitive alternative

2023-04-11 Thread Glavo
Thank you for your reply. I'm not sure what's best either. I chose to name them lowercase/uppercase here because Kotlin chose them, so many users are already familiar with them. It would be great if there were better ideas. Glavo On Wed, Apr 12, 2023 at 4:21 AM Remi Forax wrote: > > >

Re: RFR: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern [v4]

2023-04-11 Thread Roger Riggs
On Tue, 11 Apr 2023 09:14:29 GMT, Raffaello Giulietti wrote: >> Add `split()` overloads to `String` and `java.util.regex.Pattern` that, in >> addition to the substrings returned by current `split()` variants, also >> return the delimiters matching the regular expression. > > Raffaello Giuliett

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v11]

2023-04-11 Thread Martin Doerr
On Tue, 11 Apr 2023 18:35:56 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X

Re: RFR: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern [v2]

2023-04-11 Thread Roger Riggs
On Tue, 11 Apr 2023 08:58:36 GMT, Raffaello Giulietti wrote: >> src/java.base/share/classes/java/lang/String.java line 3302: >> >>> 3300: * >>> 3301: * 0 >>> 3302: * {@code { "b", "o", "", "o", ":::and::f", "o", "", "o" >>> }} >> >> These cases might be a bit easier to

Re: Draft: Deprecate toLowerCase()/toUpperCase() and provide locale insensitive alternative

2023-04-11 Thread Remi Forax
> From: "Glavo" > To: "core-libs-dev" > Sent: Tuesday, April 11, 2023 10:02:01 PM > Subject: Draft: Deprecate toLowerCase()/toUpperCase() and provide locale > insensitive alternative > Hi everyone, > A few months ago, I discussed in this mailing list[1] whether > toLowerCase()/toUpperCase() sho

Draft: Deprecate toLowerCase()/toUpperCase() and provide locale insensitive alternative

2023-04-11 Thread Glavo
Hi everyone, A few months ago, I discussed in this mailing list[1] whether toLowerCase()/toUpperCase() should be deprecated. At that time, I received some approval and no one opposed the idea. Therefore, I thought it might be time to continue advancing this work, so I created a PR[2] for this. Th

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v11]

2023-04-11 Thread ExE Boss
On Tue, 11 Apr 2023 18:35:56 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X

Re: Add String & Character ASCII case conversion methods

2023-04-11 Thread Glavo
Thanks for your reply, I've opened a PR[1] where I hope to continue discussing this issue. Glavo [1] https://github.com/openjdk/jdk/pull/13434 On Tue, Apr 11, 2023 at 9:02 PM Quân Anh Mai wrote: > Hi, > > To propose deprecation of String::toLowerCase() and String::toUpperCase(), > you can crea

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]

2023-04-11 Thread Roger Riggs
On Tue, 11 Apr 2023 19:33:28 GMT, Roger Riggs wrote: >>> > Would be great if you could support "os.arch = ppc64" for AIX and legacy >>> > linux, too. >>> >>> Changing os.arch is out of scope for this PR. The best way for that would >>> someone supporting ppc to develop and propose a PR. >> >>

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]

2023-04-11 Thread Roger Riggs
On Tue, 11 Apr 2023 18:37:11 GMT, Glavo wrote: >>> Would be great if you could support "os.arch = ppc64" for AIX and legacy >>> linux, too. >> >> Changing os.arch is out of scope for this PR. >> The best way for that would someone supporting ppc to develop and propose a >> PR. > >> > Would be

Re: RFR: 8303762: [vectorapi] Intrinsification of Vector.slice [v6]

2023-04-11 Thread Vladimir Ivanov
On Tue, 4 Apr 2023 13:46:12 GMT, Quan Anh Mai wrote: >> `Vector::slice` is a method at the top-level class of the Vector API that >> concatenates the 2 inputs into an intermediate composite and extracts a >> window equal to the size of the inputs into the result. It is used in vector >> conver

Re: RFR: 8304450: [vectorapi] Refactor VectorShuffle implementation [v7]

2023-04-11 Thread Vladimir Ivanov
On Fri, 7 Apr 2023 17:13:50 GMT, Quan Anh Mai wrote: >> Hi, >> >> This patch reimplements `VectorShuffle` implementations to be a vector of >> the bit type. Currently, VectorShuffle is stored as a byte array, and would >> be expanded upon usage. This poses several drawbacks: >> >> 1. Ineffici

Re: RFR: JDK-8305713: DocCommentParser: merge blockContent and inlineContent [v3]

2023-04-11 Thread Jonathan Gibbons
> Please review a cleanup in DocCommentParser to merge blockContent and > inlineContent into a single method to parse "rich content" in a doc comment. Jonathan Gibbons has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 59 commits: - Me

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]

2023-04-11 Thread Glavo
On Tue, 11 Apr 2023 16:58:13 GMT, Roger Riggs wrote: > > Would be great if you could support "os.arch = ppc64" for AIX and legacy > > linux, too. > > Changing os.arch is out of scope for this PR. The best way for that would > someone supporting ppc to develop and propose a PR. It seems that y

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v11]

2023-04-11 Thread Roger Riggs
> Define an internal jdk.internal.util.Architecture enumeration and static > methods to replace uses of the system property `os.arch`. > The enumeration values are defined to match those used in the build. > The initial values are: `X64, X86, AARCH64, RISCV64, S390, PPC64` > Note that `amd64` and

Re: RFR: JDK-8305713: DocCommentParser: merge blockContent and inlineContent [v2]

2023-04-11 Thread Jonathan Gibbons
> Please review a cleanup in DocCommentParser to merge blockContent and > inlineContent into a single method to parse "rich content" in a doc comment. Jonathan Gibbons has updated the pull request incrementally with 42 additional commits since the last revision: - Merge remote-tracking branch

RFR: JDK-8305713: DocCommentParser: merge blockContent and inlineContent

2023-04-11 Thread Jonathan Gibbons
Please review a cleanup in DocCommentParser to merge blockContent and inlineContent into a single method to parse "rich content" in a doc comment. - Depends on: https://git.openjdk.org/jdk/pull/13362 Commit messages: - JDK-8305713: DocCommentParser: merge blockContent and inlineCon

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v10]

2023-04-11 Thread ExE Boss
On Tue, 11 Apr 2023 18:02:14 GMT, Martin Doerr wrote: >> Roger Riggs has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Modified test to check Architecture is64bits() and isLittleEndian() >> against Unsafe respective values. >> Relocate

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v10]

2023-04-11 Thread Martin Doerr
On Tue, 11 Apr 2023 17:58:54 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X

Re: RFR: 8304265: Implementation of Foreign Function and Memory API (Third Preview) [v20]

2023-04-11 Thread Vladimir Ivanov
On Thu, 6 Apr 2023 10:54:18 GMT, Per Minborg wrote: >> API changes for the FFM API (third preview) >> >> Specdiff: >> https://cr.openjdk.org/~pminborg/panama/21/v1/specdiff/overview-summary.html >> >> Javadoc: >> https://cr.openjdk.org/~pminborg/panama/21/v1/javadoc/java.base/module-summary.htm

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v10]

2023-04-11 Thread Martin Doerr
On Tue, 11 Apr 2023 17:58:54 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v10]

2023-04-11 Thread Roger Riggs
> Define an internal jdk.internal.util.Architecture enumeration and static > methods to replace uses of the system property `os.arch`. > The enumeration values are defined to match those used in the build. > The initial values are: `X64, X86, AARCH64, RISCV64, S390, PPC64` > Note that `amd64` and

Re: RFR: 8304265: Implementation of Foreign Function and Memory API (Third Preview) [v20]

2023-04-11 Thread Jorn Vernee
On Thu, 6 Apr 2023 10:54:18 GMT, Per Minborg wrote: >> API changes for the FFM API (third preview) >> >> Specdiff: >> https://cr.openjdk.org/~pminborg/panama/21/v1/specdiff/overview-summary.html >> >> Javadoc: >> https://cr.openjdk.org/~pminborg/panama/21/v1/javadoc/java.base/module-summary.htm

Re: RFR: 8304450: [vectorapi] Refactor VectorShuffle implementation [v6]

2023-04-11 Thread Jatin Bhateja
On Tue, 11 Apr 2023 09:36:06 GMT, Quan Anh Mai wrote: >> Hi @merykitty , Agree with you that SPECIES_PREFERRED is preferred for >> vector algorithms intercepting both integral and floating point vectors. >> >> FTR, we see a perf regression with Float256 based micro now on AVX=1 targets, >> >>

Re: RFR: 8304450: [vectorapi] Refactor VectorShuffle implementation [v7]

2023-04-11 Thread Jatin Bhateja
On Fri, 7 Apr 2023 17:13:50 GMT, Quan Anh Mai wrote: >> Hi, >> >> This patch reimplements `VectorShuffle` implementations to be a vector of >> the bit type. Currently, VectorShuffle is stored as a byte array, and would >> be expanded upon usage. This poses several drawbacks: >> >> 1. Ineffici

Re: RFR: JDK-8170945: Collectors$Partition should override more Map methods

2023-04-11 Thread Stuart Marks
On Wed, 5 Apr 2023 09:19:57 GMT, Viktor Klang wrote: > Adds overrides for common Map operations to avoid having to allocate the > entrySet for Collectors$Partition maps. OK, the change is probably good, including removal of the `booleanValue` call. I'm not sure `containsKey` and `containsValue

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]

2023-04-11 Thread Roger Riggs
On Tue, 11 Apr 2023 10:39:39 GMT, Martin Doerr wrote: >> This should (probably) be correct: >> Suggestion: >> >> case PPC64 -> !OperatingSystem.isAix() && >> Architecture.isLittleEndian(); > > Looks correct, but makes the test pointless for any linux on PPC64. Will change to compar

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]

2023-04-11 Thread Roger Riggs
On Tue, 11 Apr 2023 11:41:24 GMT, Glavo wrote: >> Roger Riggs has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Remove unused static and import of Stabile > > src/java.base/share/classes/jdk/internal/util/PlatformProps.java.template > lin

Integrated: 8294806: jpackaged-app ignores splash screen from jar file

2023-04-11 Thread Alexey Semenyuk
On Mon, 10 Apr 2023 21:16:19 GMT, Alexey Semenyuk wrote: > When `--main-jar` is specified and the name of the main class is picked from > the jar's manifest, set `app.jarfile` property in launcher cfg file instead > of `app.mainclass` and `app.classpath` properties to make app launcher run > t

Re: RFE: SequenceInputStream - Consider new issue for PR #11718

2023-04-11 Thread Brian Burkhalter
Hello, You should be able to file an issue yourself at https://bugreport.java.com/bugreport/start_form Brian On Apr 10, 2023, at 11:59 PM, Benjamin Marwell mailto:bmarw...@apache.org>> wrote: Follow up, I would highly appreciate it if anyone would be so kind as to open an issue for this enhan

RFR: 8305846: Support compilation in Proc test utility

2023-04-11 Thread Weijun Wang
Enhance the `Proc` utility to support compilation. - Commit messages: - the fix Changes: https://git.openjdk.org/jdk/pull/13425/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13425&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8305846 Stats: 139 lines in 4 files c

Integrated: 8284871: Use covariant overrides for the resolveConstantDesc(Lookup) method in sub‑interfaces of java.lang.constant.ConstantDesc

2023-04-11 Thread Chen Liang
On Sat, 11 Mar 2023 04:59:07 GMT, Chen Liang wrote: > Also remove redundant casts to avoid javac warnings. This pull request has now been integrated. Changeset: e5ce7d9e Author:Chen Liang Committer: Mandy Chung URL: https://git.openjdk.org/jdk/commit/e5ce7d9e431e54504ddcf321711fe89

Re: Add String & Character ASCII case conversion methods

2023-04-11 Thread Quân Anh Mai
Hi, To propose deprecation of String::toLowerCase() and String::toUpperCase(), you can create a patch as normal, with an addition of a CSR ticket that describes the situation and the proposed solution. After that, you can ask for someone from core-libs to review the ticket. The change can be merge

Re: RFR: 8284871: Use covariant overrides for the resolveConstantDesc(Lookup) method in sub‑interfaces of java.lang.constant.ConstantDesc [v4]

2023-04-11 Thread Chen Liang
On Wed, 5 Apr 2023 05:14:07 GMT, Chen Liang wrote: >> Also remove redundant casts to avoid javac warnings. > > Chen Liang has updated the pull request incrementally with one additional > commit since the last revision: > > Redundant casts in benchmark Keep alive. Would any committer sponsor

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]

2023-04-11 Thread Glavo
On Sat, 8 Apr 2023 18:00:53 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X8

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]

2023-04-11 Thread Martin Doerr
On Tue, 11 Apr 2023 10:26:02 GMT, ExE Boss wrote: >> test/jdk/jdk/internal/util/ArchTest.java line 128: >> >>> 126: case RISCV64 -> true; >>> 127: case S390 -> false; >>> 128: case PPC64 -> true; >> >> This is not always true. The PPC64 architecture supports

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]

2023-04-11 Thread ExE Boss
On Tue, 11 Apr 2023 10:15:27 GMT, Martin Doerr wrote: >> Roger Riggs has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Remove unused static and import of Stabile > > test/jdk/jdk/internal/util/ArchTest.java line 128: > >> 126:

Re: RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]

2023-04-11 Thread Martin Doerr
On Sat, 8 Apr 2023 18:00:53 GMT, Roger Riggs wrote: >> Define an internal jdk.internal.util.Architecture enumeration and static >> methods to replace uses of the system property `os.arch`. >> The enumeration values are defined to match those used in the build. >> The initial values are: `X64, X8

Re: RFR: 8304450: [vectorapi] Refactor VectorShuffle implementation [v6]

2023-04-11 Thread Quan Anh Mai
On Mon, 10 Apr 2023 15:16:59 GMT, Jatin Bhateja wrote: >> Yes I think it is a drawback of this approach, however currently we do not >> support shuffling for 256-bit vectors on AVX1 machines either, and AVX1 >> seems to be a special case in this regard. This species of float and double >> may

Re: RFR: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern [v4]

2023-04-11 Thread Raffaello Giulietti
> Add `split()` overloads to `String` and `java.util.regex.Pattern` that, in > addition to the substrings returned by current `split()` variants, also > return the delimiters matching the regular expression. Raffaello Giulietti has updated the pull request incrementally with one additional comm

Re: RFR: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern [v2]

2023-04-11 Thread Raffaello Giulietti
On Mon, 10 Apr 2023 14:35:06 GMT, Roger Riggs wrote: >> Raffaello Giulietti has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8305486: Add split() variants that keep the delimiters to String and >> j.u.r.Pattern >> Restored original Jav

Re: RFR: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern [v3]

2023-04-11 Thread Raffaello Giulietti
> Add `split()` overloads to `String` and `java.util.regex.Pattern` that, in > addition to the substrings returned by current `split()` variants, also > return the delimiters matching the regular expression. Raffaello Giulietti has updated the pull request incrementally with one additional comm

Re: RFR: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern [v2]

2023-04-11 Thread Raffaello Giulietti
On Mon, 10 Apr 2023 14:14:54 GMT, Roger Riggs wrote: >> Raffaello Giulietti has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8305486: Add split() variants that keep the delimiters to String and >> j.u.r.Pattern >> Restored original Jav

Re: RFR: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern [v2]

2023-04-11 Thread Raffaello Giulietti
On Mon, 10 Apr 2023 14:00:46 GMT, Roger Riggs wrote: >> Raffaello Giulietti has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8305486: Add split() variants that keep the delimiters to String and >> j.u.r.Pattern >> Restored original Jav

Re: RFR: JDK-8170945: Collectors$Partition should override more Map methods

2023-04-11 Thread Viktor Klang
On Tue, 11 Apr 2023 01:18:53 GMT, Stuart Marks wrote: >> Adds overrides for common Map operations to avoid having to allocate the >> entrySet for Collectors$Partition maps. > > I don't think there is any useful relationship between this work at > SequencedCollections / SequencedMap. The return

Re: RFR: 8304717: Declaration aliasing between boolean and jboolean is wrong [v4]

2023-04-11 Thread Julian Waters
On Sat, 8 Apr 2023 13:26:36 GMT, Julian Waters wrote: >> A couple of spots wrongly refer to boolean and jboolean as the same thing. >> While this does still compile thanks to a happy accident and implicit >> conversions, they are not the same at all, and should be fixed before a >> future comp

Re: RFE: SequenceInputStream - Consider new issue for PR #11718

2023-04-11 Thread Benjamin Marwell
Follow up, I would highly appreciate it if anyone would be so kind as to open an issue for this enhancement. Am Sa., 8. Apr. 2023 um 17:36 Uhr schrieb Benjamin Marwell : > > Dear Core-Devs, > > There was a PR created for an enhancement of SequenceInputStream [1] > by Romain Manni-Buceau. > > Descr