On Fri, 6 Sep 2024 21:49:30 GMT, Naoto Sato wrote:
>> Fixing TZDB build tool to accommodate full month/day names. Recently
>> released tzdb2024b included (inadvertently) full month name "April", which
>> is allowed by the spec (zic.8), but never used. This will cause build
>> failure of the JD
> This PR proposes to add a JDK-specific monitoring and management interface
> for the virtual thread scheduler. The interface is named
> [VirtualThreadSchedulerMXBean](https://download.java.net/java/early_access/loom/docs/api/jdk.management/jdk/management/VirtualThreadSchedulerMXBean.html)
> an
On Sun, 8 Sep 2024 13:17:24 GMT, Claes Redestad wrote:
> This PR reduces number of classes loaded on a minimal lambda bootstrapping
> test by 4 by avoiding the need to pull in some AccessFlag classes.
This pull request has now been integrated.
Changeset: b45fe174
Author:Claes Redestad
URL
On Sun, 8 Sep 2024 16:48:36 GMT, Claes Redestad wrote:
>> This PR reduces number of classes loaded on a minimal lambda bootstrapping
>> test by 4 by avoiding the need to pull in some AccessFlag classes.
>
> Claes Redestad has updated the pull request incrementally with one additional
> commit s
> The string concatenation of the java.base module is implemented using
> StringBuilder. By providing a series of concat methods in StringConcatHelper,
> it is used in the java.lang package to replace string concatenation.
>
> These concat methods can also be exposed through JLA for use by other
> The string concatenation of the java.base module is implemented using
> StringBuilder. By providing a series of concat methods in StringConcatHelper,
> it is used in the java.lang package to replace string concatenation.
>
> These concat methods can also be exposed through JLA for use by other
On Tue, 3 Sep 2024 07:37:33 GMT, Francesco Nigro wrote:
>> Working on it
>
> @galderz in the benchmark did you collected the mispredicts/branches?
@franz1981 No I hadn't done so until now, but I will be tracking those more
closely.
Context:
I have been running some reduction JMH benchmarks an
On Sat, 7 Sep 2024 00:39:16 GMT, Stuart Marks wrote:
>> From the bug description:
>> ForceGC would be improved by moving the Reference.reachabilityFence() calls
>> for 'obj' and 'ref'.
>>
>> Reference.reachabilityFence(obj) is currently placed after 'obj' has been
>> set to null, so effectivel
> The string concatenation of the java.base module is implemented using
> StringBuilder. By providing a series of concat methods in StringConcatHelper,
> it is used in the java.lang package to replace string concatenation.
>
> These concat methods can also be exposed through JLA for use by other
> This is a follow-up to PR #20273, which improves performance when the number
> of parameters exceeds 20.
>
> When the number of parameters is large, the possibility of reuse will be
> lower, so we can use the static concat method and write the length and coder
> directly into the bytecode to
On Sun, 8 Sep 2024 16:48:36 GMT, Claes Redestad wrote:
>> This PR reduces number of classes loaded on a minimal lambda bootstrapping
>> test by 4 by avoiding the need to pull in some AccessFlag classes.
>
> Claes Redestad has updated the pull request incrementally with one additional
> commit s
On Sun, 8 Sep 2024 05:01:53 GMT, Shaojin Wen wrote:
>> This is a follow-up to PR #20273, which improves performance when the number
>> of parameters exceeds 20.
>>
>> When the number of parameters is large, the possibility of reuse will be
>> lower, so we can use the static concat method and w
On Sun, 8 Sep 2024 13:17:24 GMT, Claes Redestad wrote:
> This PR reduces number of classes loaded on a minimal lambda bootstrapping
> test by 4 by avoiding the need to pull in some AccessFlag classes.
Added `DirectMethodBuilder::withFlags` too, for consistency.
-
PR Comment: https
> This PR reduces number of classes loaded on a minimal lambda bootstrapping
> test by 4 by avoiding the need to pull in some AccessFlag classes.
Claes Redestad has updated the pull request incrementally with one additional
commit since the last revision:
Add DMB.withFlags for consistency
--
On Sun, 8 Sep 2024 14:44:16 GMT, Shaojin Wen wrote:
>> src/java.base/share/classes/java/lang/StringConcatHelper.java line 731:
>>
>>> 729: @ForceInline
>>> 730: static String concat(String prefix, float value, String suffix) {
>>> 731: if (prefix == null) prefix = "null";
>>
>>
>The non-reusability is intentional here, being a drop-in replacement for
>`Stream::concat`.
Gatherers are designed to be reusable, Streams not. So having a Gatherer which
isn't reusable would be a bit of a non-starter I'm afraid. Or perhaps I
misunderstood?
Personally, when I want to concat m
Please review this cleanup PR which makes `ZipFile.Source.initCEN` not include
the 22-byte trailing`END` header when reading the `CEN` section of the ZIP file.
The reading of the END header was probably brought over from native code with
the transition to Java in JDK 9.
In the current JDK, the
On Sun, 8 Sep 2024 13:31:53 GMT, Claes Redestad 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/invoke/StringConcatFactory.java
>>
>> Co-authored-by: Claes Redes
> The string concatenation of the java.base module is implemented using
> StringBuilder. By providing a series of concat methods in StringConcatHelper,
> it is used in the java.lang package to replace string concatenation.
>
> These concat methods can also be exposed through JLA for use by other
Hi Kim,
Thanks for the details.
So to summarize:
- Kim is saying that "Interpretation B" is how it actually works.
- Viktor is saying that "Interpretation A" is how it actually works.
Do I have that right?
-Archie
P.S. Viktor: my apologies for misspelling your name before
On Sat, Sep
On Sun, 8 Sep 2024 13:17:24 GMT, Claes Redestad wrote:
> This PR reduces number of classes loaded on a minimal lambda bootstrapping
> test by 4 by avoiding the need to pull in some AccessFlag classes.
Do you think we need a parallel declaration in `DirectMethodBuilder`? Though
that one won't b
On Tue, 27 Aug 2024 10:09:09 GMT, Shaojin Wen wrote:
> The string concatenation of the java.base module is implemented using
> StringBuilder. By providing a series of concat methods in StringConcatHelper,
> it is used in the java.lang package to replace string concatenation.
>
> These concat m
This PR reduces number of classes loaded on a minimal lambda bootstrapping test
by 4 by avoiding the need to pull in some AccessFlag classes.
-
Commit messages:
- Add withFlag(int) to DFB for consistency
- Avoid loading AccessFlag by providing overrides
Changes: https://git.openjd
The string concatenation of the java.base module is implemented using
StringBuilder. By providing a series of concat methods in StringConcatHelper,
it is used in the java.lang package to replace string concatenation.
These concat methods can also be exposed through JLA for use by other packages,
24 matches
Mail list logo