Re: RFR: 8349176: Speed up Integer/Long.toString via allocateUninitializedArray [v5]

2025-06-28 Thread Shaojin Wen
On Fri, 27 Jun 2025 19:09:27 GMT, Roger Riggs wrote: >> Shaojin Wen has updated the pull request with a new target base due to a >> merge or a rebase. The pull request now contains 11 commits: >> >> - Merge remote-tracking branch 'upstream/master' into >> allocate_un_init_202501 >> >>

Re: RFR: 8358533: Improve performance of java.io.Reader.readAllLines [v8]

2025-06-28 Thread Xueming Shen
On Fri, 27 Jun 2025 19:41:01 GMT, Brian Burkhalter wrote: >> Replaces the implementation `readAllCharsAsString().lines().toList()` with >> reading into a temporary `char` array which is then processed to detect line >> terminators and copy non-terminating characters into strings which are added

Re: RFR: 8360884: Better scoped values

2025-06-28 Thread Alan Bateman
On Fri, 27 Jun 2025 14:32:11 GMT, Andrew Haley wrote: > Scoped values cannot be used early in the JDK boot process because of some > dependencies on System.getProperty(). Just a bit more context here. There are several places where a class initializer may create a ScopedValue. This must be ver

Re: Object.wait returns normally if interrupted

2025-06-28 Thread Pavel Rappo
I appreciate your patience in correcting my misunderstandings; thanks, David. On Sat, Jun 28, 2025 at 5:53 AM David Holmes wrote: > > On 28/06/2025 4:03 am, Pavel Rappo wrote: > > David, > > > > Having re-read your replies multiple times, I think I now understand > > it. It finally clicked after

Re: RFR: 8360575: java.util.Properties.list() methods trim each value to 37 characters in the listed output [v3]

2025-06-28 Thread Alan Bateman
On Fri, 27 Jun 2025 14:45:19 GMT, Jaikiran Pai wrote: >> Can I please get a review of this doc-only change which proposes to clarify >> the current implementation of the `java.util.Properties.list(...)` methods? >> >> As noted in https://bugs.openjdk.org/browse/JDK-8360575, the current >> impl