On Wed, 6 Apr 2022 17:47:53 GMT, Chris Hennick wrote:
> Repeatedly adding DoubleZigguratTables.exponentialX0 to extra causes a
> rounding error to accumulate at the tail of the distribution (probably
> starting around 2*exponentialX0 == 0x1.e46eff20739afp3); this fixes that by
> tracking the
On Tue, 22 Mar 2022 10:09:40 GMT, Claes Redestad wrote:
>> Xin Liu has updated the pull request with a new target base due to a merge
>> or a rebase. The incremental webrev excludes the unrelated changes brought
>> in by the merge/rebase. The pull request contains six
70 ± 1267.388B/op
> StringBuilders.toStringWithMixedChars:·gc.churn.G1_Survivor_Space
> 1024 avgt 15 0.005 ±0.002 MB/sec
> StringBuilders.toStringWithMixedChars:·gc.churn.G1_Survivor_Space.norm
> 1024 avgt 15 0.033 ±0.014B/op
> StringBuilders.toStringWithM
70 ± 1267.388B/op
> StringBuilders.toStringWithMixedChars:·gc.churn.G1_Survivor_Space
> 1024 avgt 15 0.005 ±0.002 MB/sec
> StringBuilders.toStringWithMixedChars:·gc.churn.G1_Survivor_Space.norm
> 1024 avgt 15 0.033 ±0.014B/op
> StringBuilders.toStringWithMixedC
On Tue, 15 Mar 2022 23:25:17 GMT, Claes Redestad wrote:
>> Xin Liu has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Change growOnly to maybeLatin.
>>
>> This patch also cop
On Wed, 9 Mar 2022 08:33:36 GMT, Xin Liu wrote:
>> If AbstractStringBuilder only grow, the inflated value which has been
>> encoded in UTF16 can't be compressed.
>> toString() can skip compression in this case. This can save an
>> ArrayAllocation
On Wed, 9 Mar 2022 08:33:36 GMT, Xin Liu wrote:
>> If AbstractStringBuilder only grow, the inflated value which has been
>> encoded in UTF16 can't be compressed.
>> toString() can skip compression in this case. This can save an
>> ArrayAllocation
70 ± 1267.388B/op
> StringBuilders.toStringWithMixedChars:·gc.churn.G1_Survivor_Space
> 1024 avgt 15 0.005 ±0.002 MB/sec
> StringBuilders.toStringWithMixedChars:·gc.churn.G1_Survivor_Space.norm
> 1024 avgt 15 0.033 ±0.014B/op
> StringBuilders.toStringWithMixed
On Tue, 8 Mar 2022 17:33:58 GMT, Daniel Jeliński wrote:
> As for a better name for `growOnly`, something like `mayBeLatin` would better
> convey the variable's purpose. What do you think?
There are tricky. I need to add test to cover them.
The problem comes from that this patch fails to
On Mon, 7 Mar 2022 12:10:51 GMT, Daniel Jeliński wrote:
>> Xin Liu has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> make sure String(StringBuffer) is still synchronized.
>
> src/java.base/share/classes/j
70 ± 1267.388B/op
> StringBuilders.toStringWithMixedChars:·gc.churn.G1_Survivor_Space
> 1024 avgt 15 0.005 ±0.002 MB/sec
> StringBuilders.toStringWithMixedChars:·gc.churn.G1_Survivor_Space.norm
> 1024 avgt 15 0.033 ±0.014B/op
> StringBuilders.toStringWithMixedCha
On Thu, 3 Mar 2022 08:11:19 GMT, Daniel Jeliński wrote:
>> If AbstractStringBuilder only grow, the inflated value which has been
>> encoded in UTF16 can't be compressed.
>> toString() can skip compression in this case. This can save an
>> ArrayAllocation in StringUTF16::compress().
>>
>>
On Thu, 3 Mar 2022 08:07:53 GMT, Daniel Jeliński wrote:
>> If AbstractStringBuilder only grow, the inflated value which has been
>> encoded in UTF16 can't be compressed.
>> toString() can skip compression in this case. This can save an
>> ArrayAllocation in StringUTF16::compress().
>>
>>
If AbstractStringBuilder only grow, the inflated value which is encoded in
UTF16 can't be compressed.
toString() can skip compression in this case. This can save an ArrayAllocation
in StringUTF16::compress.
java.io.BufferedRead::readLine() is a case that StringBuilder grows only.
On Wed, 22 Dec 2021 09:07:24 GMT, Sergey Bylokhov wrote:
> This bug is similar to https://bugs.openjdk.java.net/browse/JDK-8244094
>
> Currently, some of the files in the OpenJDK repo have Amazon copyright
> notices which are all slightly different and do not conform to Amazons
> preferred
There are 3 nodes involving in the construction of a java.lang.String object.
1. Allocate of itself, aka. alloc
2. AllocateArray of a byte array, which is value:byte[], aka. aa
3. ArrayCopyNode which copys in the contents of value, aka. ac
Lemma
When a String object `alloc` is scalar replaced, C2
16 matches
Mail list logo