Describe in general how java garbage collector works, JAVA Programming

Describe, in general, how java garbage collector works?

Posted Date: 12/3/2013 1:37:06 AM | Location : United States





The Java runtime environment removes objects when it determines that they are no longer being used. This method is known as garbage collection. Java runtime environment supports a garbage collector that at regular intervals release the memory used by objects that are no longer required. The Java garbage collector is a mark-sweep garbage collector that scans Java''s dynamic memory areas for objects, mark those that are referenced. After all possible ways to objects are investigated; those objects that are not marked are known to be garbage and are collected.

Posted by | Posted Date: 12/3/2013 1:37:55 AM


Related Discussions:- Describe in general how java garbage collector works, Assignment Help, Ask Question on Describe in general how java garbage collector works, Get Answer, Expert's Help, Describe in general how java garbage collector works Discussions

Write discussion on Describe in general how java garbage collector works
Your posts are moderated
Related Questions
What does the keyword " synchronize " mean in java. What are the usage and disadvantages of synchronization?

Debugging mode can be enabled by adding the following line of code before creating new connections: XMPPConnection.DEBUG_ENABLED = true; When debugging mode is enabled, a

Explain Subclasses and Polymorphism ? Car and Motorcycle are subclasses of MotorVehicle. If you instantiate a Car or a Motorcycle along with new, you can use in which object a

How to create a program using sprite sheet?

Describe Polymorphism? Polymorphism can be referred as one name many forms. It's the ability of methods to behave differently, depending upon object who is calling it. Key feat

Looking for: responsible, trustworthy, accountable, and knowledgeable CakePHP developer and web designer with great communication skills. I'm seeking great partnership and if th

any one out there with Boggle Source code?......i really need it guys please.

Question: a) Authentication relies on standards and protocols that are used to confirm the identity of a user or object. Windows Server 2003 supports several types of network


Write a program that uses one of the Map classes to implement a contact list. Contact information should include first name, last name, a phone number and an email address. The lis