Hacker News new | ask | show | jobs
by Nican 4393 days ago
Just as a note, on Java 7, developers opted for not having a single buffer backing multiple strings due to the backing references never been deleted. [1] [2]

[1] http://stackoverflow.com/questions/16123446/java-7-string-su...

[2] http://www.reddit.com/r/programming/comments/1qw73v/til_orac...

1 comments

Probably more of an issue when all of your strings work(ed) like that, as opposed to here where you must explicitly opt-in to use immutable strings with shared buffers.