Re: RFR: 8293841: RISC-V: Implementation of Foreign Function & Memory API (Preview) [v7]

2023-01-15 Thread Fei Yang
On Mon, 16 Jan 2023 06:38:35 GMT, Feilong Jiang wrote: >> Add experimental Foreign Function & Memory API support for RISC-V. >> >> For details of the FFM API RISC-V port please refer to [JBS >> issue](https://bugs.openjdk.org/browse/JDK-8293841) >> >> Testing: >> >> - [x] jdk_foreign with

Re: RFR: 8293841: RISC-V: Implementation of Foreign Function & Memory API (Preview) [v7]

2023-01-15 Thread Feilong Jiang
> Add experimental Foreign Function & Memory API support for RISC-V. > > For details of the FFM API RISC-V port please refer to [JBS > issue](https://bugs.openjdk.org/browse/JDK-8293841) > > Testing: > > - [x] jdk_foreign with release/fastdebug build on linux-riscv64 > - [x] jdk_foreign with

Re: RFR: 8282664: Unroll by hand StringUTF16 and StringLatin1 polynomial hash loops [v18]

2023-01-15 Thread Claes Redestad
On Mon, 9 Jan 2023 16:49:25 GMT, Claes Redestad wrote: >> Continuing the work initiated by @luhenry to unroll and then intrinsify >> polynomial hash loops. >> >> I've rewired the library changes to route via a single `@IntrinsicCandidate` >> method. To make this work I've harmonized how they

Re: RFR: 8300140: ZipFile.isSignatureRelated returns true for files in META-INF subdirectories [v5]

2023-01-15 Thread Eirik Bjorsnos
> Some call sites of SignatureFileVerifier.isBlockOrSF fails to check that > files reside in META-INF directly, and not in a subdirectory of META-INF. > > The mentioned call sites needs updates to check and ignore such files. > > A new test VerifyUnrelatedSignatureFiles is added which verifies

Re: RFR: 8293841: RISC-V: Implementation of Foreign Function & Memory API (Preview) [v5]

2023-01-15 Thread Feilong Jiang
On Sun, 15 Jan 2023 09:09:07 GMT, Fei Yang wrote: >> Feilong Jiang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> fix callArranger > > test/jdk/java/foreign/callarranger/TestRISCV64CallArranger.java line 3: > >> 1: /* >> 2: *

Re: RFR: 8293841: RISC-V: Implementation of Foreign Function & Memory API (Preview) [v6]

2023-01-15 Thread Feilong Jiang
> Add experimental Foreign Function & Memory API support for RISC-V. > > For details of the FFM API RISC-V port please refer to [JBS > issue](https://bugs.openjdk.org/browse/JDK-8293841) > > Testing: > > - [x] jdk_foreign with release/fastdebug build on linux-riscv64 > - [x] jdk_foreign with

Re: RFR: 8300140: ZipFile.isSignatureRelated returns true for files in META-INF subdirectories [v4]

2023-01-15 Thread Eirik Bjorsnos
> Some call sites of SignatureFileVerifier.isBlockOrSF fails to check that > files reside in META-INF directly, and not in a subdirectory of META-INF. > > The mentioned call sites needs updates to check and ignore such files. > > A new test VerifyUnrelatedSignatureFiles is added which verifies

Re: RFR: 8300140: ZipFile.isSignatureRelated returns true for files in META-INF subdirectories [v3]

2023-01-15 Thread Eirik Bjorsnos
On Sat, 14 Jan 2023 13:17:32 GMT, Eirik Bjorsnos wrote: >> test/jdk/java/util/jar/JarFile/VerifyUnrelatedSignatureFiles.java line 61: >> >>> 59: File j = createJarFile(); >>> 60: File s = signJarFile(j, "signed"); >>> 61: File m = moveSignatureRelated(s); >> >> Try sign

Re: RFR: 8300140: ZipFile.isSignatureRelated returns true for files in META-INF subdirectories [v3]

2023-01-15 Thread Eirik Bjorsnos
> Some call sites of SignatureFileVerifier.isBlockOrSF fails to check that > files reside in META-INF directly, and not in a subdirectory of META-INF. > > The mentioned call sites needs updates to check and ignore such files. > > A new test VerifyUnrelatedSignatureFiles is added which verifies

Re: RFR: 8293841: RISC-V: Implementation of Foreign Function & Memory API (Preview) [v5]

2023-01-15 Thread Fei Yang
On Tue, 10 Jan 2023 15:15:23 GMT, Feilong Jiang wrote: >> Add experimental Foreign Function & Memory API support for RISC-V. >> >> For details of the FFM API RISC-V port please refer to [JBS >> issue](https://bugs.openjdk.org/browse/JDK-8293841) >> >> Testing: >> >> - [x] jdk_foreign with

Re: RFR: 8284493: Improve computeNextExponential tail performance and accuracy [v16]

2023-01-15 Thread Chris Hennick
On Tue, 4 Oct 2022 17:36:56 GMT, Chris Hennick wrote: >> This PR improves both the worst-case performance of `nextExponential` and >> `nextGaussian` and the distribution of output at the tails. It fixes the >> following imperfections: >> >> * Repeatedly adding