On Sat, 19 Nov 2022 16:36:28 GMT, Markus KARG wrote:
> Since JDK 18 some implementations of InputStream.transferTo, namely
> FileInputStream and ChannelInputStream, offload work to lower layers using
> NIO channels. This provides shorter execution time and reduced resource
> consumption. Unfor
On Sat, 19 Nov 2022 23:23:07 GMT, Pavel Rappo wrote:
> I might be mistaken, but that vector is not temporary: the vector and the
> enumeration produced from it seems to be reachable for as long as the stream
> is. Both the enumeration and the vector are synchronized. That
> synchronization mig
On Sat, 19 Nov 2022 21:36:56 GMT, Markus KARG wrote:
> There is no need to use a temporary Vector within the constructor of
> SynchronizedInputStream, as more efficient (non-synchronized) alternative
> code (like List.of) will do the same in possibly less time. While the
> optimization is not
On Sat, 19 Nov 2022 16:36:28 GMT, Markus KARG wrote:
> Since JDK 18 some implementations of InputStream.transferTo, namely
> FileInputStream and ChannelInputStream, offload work to lower layers using
> NIO channels. This provides shorter execution time and reduced resource
> consumption. Unfor
There is no need to use a temporary Vector within the constructor of
SynchronizedInputStream, as more efficient (non-synchronized) alternative code
(like List.of) will do the same in possibly less time. While the optimization
is not dramatic, it still makes sense to replace Vector unless synchro
Since JDK 18 some implementations of InputStream.transferTo, namely
FileInputStream and ChannelInputStream, offload work to lower layers using NIO
channels. This provides shorter execution time and reduced resource
consumption. Unfortunately, this effect is prevented once the input stream
itsel
On Fri, 18 Nov 2022 17:27:28 GMT, Alan Bateman wrote:
>> Andrew Haley has updated the pull request incrementally with two additional
>> commits since the last revision:
>>
>> - Reviewer feedback
>> - Reviewer feedback Javadoc fixes
>
> src/java.base/share/classes/java/lang/VirtualThread.java
On Fri, 18 Nov 2022 18:38:53 GMT, Andrew Haley wrote:
>> JEP 429 implementation.
>
> Andrew Haley has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Add ensureMaterializedForStackWalk kludge for AArch64
src/hotspot/cpu/aarch64/aarch64.ad line
On Fri, 18 Nov 2022 21:29:50 GMT, Joe Darcy wrote:
>> `@enablePreview` wasn't available when most of these tests were initially
>> created. I changed some of to use this tag as part of other changes but
>> didn't cover over the remaining tests that still use `@compile
>> --enable-preview -sour
On Sat, 19 Nov 2022 07:19:16 GMT, Serguei Spitsyn wrote:
>> The can_support_virtual_thread was initially implemented as an onload
>> capability.
>> It is why this capability does not work for the agents loaded into running
>> VM.
>> The fix is to move it from `onload` to `always`capabilities li
10 matches
Mail list logo