On 2021-02-03 Brett Okken wrote:
> I have not done any testing of xz specifically, but was motivated by
> https://github.com/openjdk/jdk/pull/542, which showed pretty
> noticeable slowdown when biased locking is removed. The specific
> example there was writing 1 byte at a time being transitioned
I have not done any testing of xz specifically, but was motivated by
https://github.com/openjdk/jdk/pull/542, which showed pretty
noticeable slowdown when biased locking is removed. The specific
example there was writing 1 byte at a time being transitioned to
writing the 2-8 bytes to a byte[]
On 2021-01-29 Brett Okken wrote:
> Here are some small improvements when creating new BlockInputStream
> instances. This reduces the size of the byte[] for the block header to
> the actual size
I committed this part. Thanks!
> and replaces use of ByteArrayInputStream, which has synchronized
>
Here are some small improvements when creating new BlockInputStream
instances. This reduces the size of the byte[] for the block header to
the actual size and replaces use of ByteArrayInputStream, which has
synchronized methods, with a ByteBuffer, which provides the same
functionality without