RFR: 8065159: AttributedString has quadratic resize algorithm

Naoto Sato naoto.sato at oracle.com
Wed Nov 19 23:41:52 UTC 2014

Hi Martin,

The fix looks good to me. Although it is not inherently related to your 
fix, there are two separate declarations of "newRunAttributes" and 
"newRunAttributeValues" in ensureRunBreak() method and their usages are 
different! It would be desirable to correct it.


On 11/19/14, 3:00 PM, Martin Buchholz wrote:
> Hey Naoto and Masayoshi,
> I haven't sent you a friendly code review in a while.
> http://cr.openjdk.java.net/~martin/webrevs/openjdk9/AttributedString-optimization/
> https://bugs.openjdk.java.net/browse/JDK-8065159
> (AttributedString could also independently see some testing and code
> hygiene love)

More information about the core-libs-dev mailing list