Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Why we can not force Garbage Collection?

Answer Posted / vineet verma[birlasoft]

garbage collection is a independent thread in memory.JVM
set the priorty of this thread.system.gc() just request the
JVM to run garbage collection.its up to JVM wether to set
priorty and when..

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to perform merge sort in java?

1040


What is the purpose of abstract class?

1002


Can an integer be null java?

974


What do you mean by buffering?

1023


What is charat java?

938


If system.exit (0); is written at the end of the try block, will the finally block still execute?

1091


What are anonymous inner classes?

999


Can this keyword be used to refer static members?

1014


What is another word for methodology?

1000


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

1089


What is difference between protected and private?

1045


what is heap memory?

1079


What is object of class in java?

1107


What does exclamation mean in java?

1071


Explain creating threads by extending thread class ?

1033