What are the objects that are not subject to garbage collection?

Showing Answers 1 - 2 of 2 Answers

Constantin Chertakovsky

  • Oct 30th, 2005
 

A full GC condemns all objects. An ephemeral GC only condemns one or more ephemeral generations; older generations are not condemned and thus not subject to this garbage collection

  Was this answer useful?  Yes

Rizwan

  • May 19th, 2006
 

String object are immutable so they are not garbage collected

all kinds of objects are garbage collected except string object

so try to avoid the usage of string objects in a large application

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions