File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: Jul 18, 2006
Sep 06, 2006 02:21:00
objects in the string constant pool be garbage collected?
Joined: Oct 18, 2004
Sep 06, 2006 03:29:00
No string literals are not garbage collected. Here is a very good explanation of the same.
web Garbage collection for String literals
Joined: Jul 28, 2006
Sep 06, 2006 10:42:00
I thought that String literals could be garbage collected under ceratin conditions, like if the
that causes them to be loaded into memory was itself garbage collected. Am I wrong?
I agree. Here's the link:
subject: garbage collection
the "+" operator
doubt on garbage collection
WA #1.....word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014