java garbage collector? , JAVA Programming

Each time an object is operated in Java, it goes into the area of memory named as heap. The Java heap is named the garbage collectable heap. The garbage collection may not be forced. The garbage collector applies in low memory situations. When it runs, it removes the memory allocated by an unreachable object. The garbage collector gives on a low priority daemon thread. You may simply ask the garbage collector to collect garbage by calling System.gc() but you can't handle it.

 

414_Untitled.png

 

An object's life has no meaning unless something has papered to it. If you can't handle it then you can't ask it to do anything. Then the object becomes unreachable and the garbage collector will noted it out. Java automatically reads all the unreachable objects periodically and removes the memory consumed by those unreachable objects to be needed by the future reachable objects.

 

Posted Date: 7/25/2012 2:55:30 AM | Location : United States







Related Discussions:- java garbage collector? , Assignment Help, Ask Question on java garbage collector? , Get Answer, Expert's Help, java garbage collector? Discussions

Write discussion on java garbage collector?
Your posts are moderated
Related Questions
I need to code using java in netbeans for my dissertation which is in data mining domain...deals with privacy preserving of sensitive rules or items using association rule hiding

Printing Calculator Canvas Printing Calculator In this assignment we will continue to work on our canvas printing web service. Specifically we will make use of Javascrip

What is basic of android?

What is the String Concatenation + Operator is employed to concatenate strings - System.out.pritln ("Hello" + "World") will print Hello World on console String concatenat

How does a try statement determine which catch clause should be used to handle the exception?

Im not in the line of computer science.But i would like to have some knowledge about the computer language "JAVA".I aldredy learns the computer languages "C,C++".So kindly help me

Suppose we have a big project. Draw hierarchy of the people involved in the project? Executive Team CEO, COO, CMSO Quality Architecture Team Business Development Team Technolog

In this assignment, you will gain experience implementing the java.util.List interface. This includes writing an inner class called Node and another inner class called CS228LinkedL

Cadence Design Systems:   Role Working on tickets including debugging of unix based applications Installations of unix based tools/utlity Installation

1) Around : org.aopalliance.intercept.MethodInterceptor 2) Before : org.springframework.aop.BeforeAdvice 3)  After : org.springframework.aop.AfterReturningAdvice 4) Throws