Bug ID: JDK-6500646 Use Escape Analysis to optimize...
A common use of StringBuffer in Java programs is that a local StringBuffer object is used to build a character sequences which is then converted to a String. This conversion involves allocating a new char array and copying the StringBuffer's char array.