Answer Posted / nilesh bhil
Garbage collector is automatically called by JVM.
But can make the request by calling gc() method on System class as follows.
System.gc();
Note that we are making only request Garbage Collector may
called or may not called.
Garbage Collector is automatically called at two conditions.
1)When CPU is ideal.
2)When huge amount of memory is required.
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Explain phantom read?
AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?
What is jboss?
What are the diff types of exception?
Write a program to show synchronization?
Is there a guarantee of uniqueness for entity beans?
What you mean by COM and DCOM?
How to deploy Jar, War files in J2EE?
what is the use of State Factories?
What are the steps to write p-to-p model application?
Difference between loadclass and class.forname?
What is the difference between the ‘font’ and ‘fontmetrics’ class?
In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?
Name the eight primitive java types.
whats is mean by connectionpooling