Patch: RFC: String sharing heuristic
Bryce McKinlay
mckinlay@redhat.com
Wed May 25 16:44:00 GMT 2005
Tom Tromey wrote:
>Please comment on this.
>
>Christopher Lansdown showed me an example program that unexpectedly
>used a lot of memory (as compared to running on jamvm). Analysis
>showed that he was using substring(), which was keeping the entire
>contents of his 300M log file live -- whereas the heuristic in
>Classpath's substring() avoided this.
>
>
I filed a PR on this so we don't forget it:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21753
Bryce
More information about the Java-patches
mailing list