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 is the difference between preemptive scheduling and time slicing? Under preemptive scheduling, the highest priority task executes unless it enters the waiting or dead stat

do you have example of a simple midlet game ?

What are application softwares? List down the names of three application software's. Definition: Application Software are in which software then can interact directory along

Explain the Execute phase of Java Program Development Finally in phase computer, under the control of its CPU, interprets program one bytecode at a time. Hence performing

Differentiate between SMTP and POP3 server? SMTP (Simple Mail Transfer Protocol) is a protocol used to send and receive eMail messages over a TCP/IP network. While POP3 (Post

Why Processing An Unknown Number Of Parameters ? Most of the time you have a fairly high-quality idea of what parameters will and won't be passed to your applet. Therefore som

Students will design, develop, test and document a Java application that reads data from an input file, processes the data, and then writes the processed data to an output file. CM

Question 1 Write a program in Java to find the highest of any five numbers. How do you compile and execute this Java program? Question 2 Write a program to explain the Except


I have a parser. it is written in Java. I need to add a hash table to it. I am wondering about if you can do it.