|
From: | gnu_andrew at member dot fsf dot org |
Subject: | [Bug classpath/36477] OOME in CPStringBuilder when running Eclipse |
Date: | 15 Jun 2008 22:07:57 -0000 |
------- Comment #5 from gnu_andrew at member dot fsf dot org 2008-06-15 22:07 ------- CVSROOT: /sources/classpath Module name: classpath Changes by: Andrew John Hughes <gnu_andrew> 08/06/15 21:33:57 Modified files: . : ChangeLog gnu/java/lang : CPStringBuilder.java Log message: 2008-06-15 Andrew John Hughes <address@hidden> PR classpath/36477: * gnu/java/lang/CPStringBuilder.java, (setLength(int)): Don't ensure capacity when new length is 0. (ensureCapacity(int)): Allocate double the minimum capacity rather than double the array length when allocating a new array after a write. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9643&r2=1.9644 http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/lang/CPStringBuilder.java?cvsroot=classpath&r1=1.9&r2=1.10 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36477
[Prev in Thread] | Current Thread | [Next in Thread] |