About Question com.enthuware.ets.scjp.v6.2.634 :
Moderator: admin
About Question com.enthuware.ets.scjp.v6.2.634 :
Are strings in the string constant pool really never eligible for garbage collection?
Re: About Question com.enthuware.ets.scjp.v6.2.634 :
I remember reading that although they are objects, they are kept in memory to be shared with others. They "MAY" be GC'ed at some point, but not immediately after the method finishes.ETS User wrote:Are strings in the string constant pool really never eligible for garbage collection?
Who is online
Users browsing this forum: Bing [Bot] and 103 guests