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
How can we include images in a web page using HTML and Java script?2011 Images in HTML It is quite straight forward to include gif and jpg images in an HTML webpage using the

What is difference between object state and behavior? Ans) If you change the state of an object, you ask it to perform a behavior. An object kept its states in a field e.g. vari

What is Arithmetic promotion assignment and casting? In an assignment statement, i.e. if there's an equals sign, Java compares the type of the left hand side to the at last typ

Project Description: I'm using a php script called phpfox on my site its work as social network . So I need is to use this script as CMS for my application. What users wil

New Fishing App Project Description: A new app for iPhone providing a GPS connected map of the fishery you are fishing at and other logged in users who are also fishing at th

Search on column demonstration in Semantic Vector Project Description: I am preparing a research on Semantic Vectors. But I am not able to check out in a vector representa

(Tic-Tac-Toe)  Create class TicTacToe that will enable you to write a complete application to play the game of Tic-Tac-Toe. The class contains a private 3-by-3 rectangular array o

What is a local, member and a class variable? Variables declared within a method are "local" variables. Variables declared within the class i.e not within any methods are "m

Normalization is a design technique that is mostly used as a guide in designing relational databases. Normalization is necessary a two step process that gives data into tabular f