[Bug libgcj/21869] We should to use StringBuilder instead of StringBuffer where appropriate.

tromey at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 2 05:00:00 GMT 2005


------- Additional Comments From tromey at gcc dot gnu dot org  2005-06-02 04:59 -------
See the follow-on discussion on java-patches.
StringBuilder requires a copy of the data;
gnu.gcj.runtime.StringBuffer does not.  The latter could
be made vm-independent and used throughout Classpath.

The thread is here:
http://gcc.gnu.org/ml/java-patches/2005-q2/msg00606.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-02 04:59:57
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21869



More information about the Gcc-bugs mailing list