On Wed, 23 Jul 2025 23:19:49 GMT, Raffaello Giulietti
wrote:
>> @rgiulietti
>>> The Brent & Zimmermann paper assumes an initial estimate u ≥ ⌊ x 1 / n ⌋ ,
>>> probably for a (unstated) reason.
>>
>> The reason is the condition to stop the loop, since it terminates when the
>> estimate does no
On Thu, 24 Jul 2025 14:50:07 GMT, Tatsunori Uchino wrote:
> Adds `codePointCount()` overloads to `String`, `Character`,
> `(Abstract)StringBuilder`, and `StringBuffer` to make it possible to
> conveniently retrieve the length of a string as code points without extra
> boundary checks.
>
>
>
On Thu, 24 Jul 2025 14:50:07 GMT, Tatsunori Uchino wrote:
> Adds `codePointCount()` overloads to `String`, `Character`,
> `(Abstract)StringBuilder`, and `StringBuffer` to make it possible to
> conveniently retrieve the length of a string as code points without extra
> boundary checks.
>
>
>
This issue is responsible for updating the translations of all the
localize(able) resources in the JDK since the previous L10n drop.
-
Commit messages:
- update l10n
Changes: https://git.openjdk.org/jdk/pull/26467/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26467&range
> This PR implements nth root computation for BigIntegers using Newton method.
fabioromano1 has updated the pull request incrementally with one additional
commit since the last revision:
Added pow() -nthRoot() roundtrip tests
-
Changes:
- all: https://git.openjdk.org/jdk/pull/2
On Fri, 27 Jun 2025 01:04:32 GMT, Shaojin Wen wrote:
>> In BufferedReader.readLine and other similar scenarios, we need to use
>> StringBuilder.append(char[]) to build the string.
>>
>> For these scenarios, we can Unsafe.copyMemory instead of the character copy
>> of the char-by-char loop to i
On Tue, 22 Jul 2025 13:13:41 GMT, Alan Bateman wrote:
> The changes in JDK-8319447 to improve the performance of delayed task
> handling updated CompletableFuture and SubmissionPublisher to use the
> ForkJoinPool commonPool in all cases. These APIs previously created a Thread
> for each task w
On Thu, 24 Jul 2025 13:18:03 GMT, Raffaello Giulietti
wrote:
>> Shaojin Wen has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Update src/java.base/share/classes/java/lang/StringUTF16.java
>>
>> Co-authored-by: Chen Liang
>
> src/jav
On Thu, 24 Jul 2025 14:20:48 GMT, Chen Liang wrote:
>> src/java.base/share/classes/java/lang/StringUTF16.java line 1490:
>>
>>> 1488: val,
>>> 1489: Unsafe.ARRAY_BYTE_BASE_OFFSET + ((long) index << 1),
>>> 1490: (long) (end - off) << 1);
>>
>> The
Adds `codePointCount()` overloads to `String`, `Character`,
`(Abstract)StringBuilder`, and `StringBuffer` to make it possible to
conveniently retrieve the length of a string as code points without extra
boundary checks.
if (superTremendouslyLongExpressionYieldingAString().codePointCount() > li
> This PR implements nth root computation for BigIntegers using Newton method.
fabioromano1 has updated the pull request incrementally with one additional
commit since the last revision:
Use checkResult() in pow-nthRoot roundtrip tests
-
Changes:
- all: https://git.openjdk.org/
On Thu, 24 Jul 2025 14:50:07 GMT, Tatsunori Uchino wrote:
> Adds `codePointCount()` overloads to `String`, `Character`,
> `(Abstract)StringBuilder`, and `StringBuffer` to make it possible to
> conveniently retrieve the length of a string as code points without extra
> boundary checks.
>
>
>
> This PR implements nth root computation for BigIntegers using Newton method.
fabioromano1 has updated the pull request incrementally with one additional
commit since the last revision:
Update BigIntegerTest.java
Adjust pow-nthRoot roundtrip tests to handle negative base with even expone
On Tue, 8 Jul 2025 14:04:56 GMT, Daniel Fuchs wrote:
>> Hi,
>>
>> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the
>> HTTP Client API](https://openjdk.org/jeps/517).
>>
>> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the
>> HTTP Client API](http
On Fri, 27 Jun 2025 01:04:32 GMT, Shaojin Wen wrote:
>> In BufferedReader.readLine and other similar scenarios, we need to use
>> StringBuilder.append(char[]) to build the string.
>>
>> For these scenarios, we can Unsafe.copyMemory instead of the character copy
>> of the char-by-char loop to i
On Tue, 8 Jul 2025 14:04:56 GMT, Daniel Fuchs wrote:
>> Hi,
>>
>> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the
>> HTTP Client API](https://openjdk.org/jeps/517).
>>
>> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the
>> HTTP Client API](http
On Tue, 8 Jul 2025 14:04:56 GMT, Daniel Fuchs wrote:
>> Hi,
>>
>> Please find here a PR for the implementation of [JEP 517: HTTP/3 for the
>> HTTP Client API](https://openjdk.org/jeps/517).
>>
>> The CSR can be viewed at [JDK-8350588: Implement JEP 517: HTTP/3 for the
>> HTTP Client API](http
> There were a couple of post review comments after the /integrate command was
> submitted. This issue will address those comments. Also created constants for
> hardcoded values and tests. Fixed some typos.
Darragh Conway has updated the pull request incrementally with one additional
commit sin
On Wed, 23 Jul 2025 12:54:00 GMT, Volkan Yazici wrote:
>> Validate input in `java.lang.StringCoding` intrinsic Java wrappers, improve
>> their documentation, enhance the checks in the associated IR or assembly
>> code, and adapt them to cause VM crash on invalid input.
>>
>> ## Implementation
> This PR implements nth root computation for BigIntegers using Newton method.
fabioromano1 has updated the pull request incrementally with one additional
commit since the last revision:
Round up to do less iterations
With the 1st iteration outside the loop, it is more convenient rounding
> This PR implements nth root computation for BigIntegers using Newton method.
fabioromano1 has updated the pull request incrementally with one additional
commit since the last revision:
Code simplification
-
Changes:
- all: https://git.openjdk.org/jdk/pull/24898/files
- new:
On Thu, 24 Jul 2025 14:50:07 GMT, Tatsunori Uchino wrote:
> Adds `codePointCount()` overloads to `String`, `Character`,
> `(Abstract)StringBuilder`, and `StringBuffer` to make it possible to
> conveniently retrieve the length of a string as code points without extra
> boundary checks.
>
>
>
Hi Brett,
I ran your benchmark on a Windows11 Pro 24H2 / ARM64 / JDK 21 system
and can reproduce your findings that
CharSequenceCharAtBenchmark.testString has weaker performance.
I also added these benchmarks:
@Benchmark
public int testStringBuilderAsCS() {
return test(this.st
On Wed, 23 Jul 2025 04:04:46 GMT, Chen Liang wrote:
> JDK-8315131 addresses a doc-only mistake present on release 25. Since this is
> doc-only, this is eligible for backport, and its CSR is approved for release
> 25 too. See #26258 for the original PR review.
Thanks for the reviews!
-
On Wed, 23 Jul 2025 04:04:46 GMT, Chen Liang wrote:
> JDK-8315131 addresses a doc-only mistake present on release 25. Since this is
> doc-only, this is eligible for backport, and its CSR is approved for release
> 25 too. See #26258 for the original PR review.
This pull request has now been int
> There were a couple of post review comments after the /integrate command was
> submitted. This issue will address those comments. Also created constants for
> hardcoded values and tests. Fixed some typos.
Darragh Conway has updated the pull request incrementally with one additional
commit sin
On Tue, 22 Jul 2025 04:03:20 GMT, Chen Liang wrote:
> I just noticed there is `LibraryCallKit::inline_string_getCharsU` that is for
> byte -> char conversion. I wonder if we can slightly update it for char ->
> byte conversion.
If the performance is the same, the current proposal to use Unsafe
> This PR implements nth root computation for BigIntegers using Newton method.
fabioromano1 has updated the pull request incrementally with one additional
commit since the last revision:
Ensure an initial overestimate of the root
Ensure an initial overestimate of the root by doing 1st ite
I've added support to vectorize `MoveD2L`, `MoveL2D`, `MoveF2I` and `MoveI2F`
nodes. The implementation follows a similar pattern to what is done with
conversion (`Conv*`) nodes. The tests in `TestCompatibleUseDefTypeSize` have
been updated with the new expectations.
Also added a JMH benchmark
Thanks Johannes for another test case!
Hotspot compiler investigation concludes this is due to inlining limits; an
issue https://bugs.openjdk.org/browse/JDK-8364043 has been created. The guess
for now is that limits are reached on different platforms inconsistently.
_
> I have updated this patch to avoid a redundant `runtimeSetup` annotation - we
> have agreed that the requirement for setup is a side effect of
> initialization, and such methods in AOTCI classes must be automatically
> recognized. This latest revision implements that model.
>
> I intentionall
On Fri, 27 Jun 2025 01:04:32 GMT, Shaojin Wen wrote:
>> In BufferedReader.readLine and other similar scenarios, we need to use
>> StringBuilder.append(char[]) to build the string.
>>
>> For these scenarios, we can Unsafe.copyMemory instead of the character copy
>> of the char-by-char loop to i
32 matches
Mail list logo