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 do you add spaces in java?

940


What is anagram of a string?

887


what is thread in Java ?

1098


Explain the concept of proper inheritance?

1011


Can we access the non-final local variable, inside the local inner class?

963


When is the finalize() called? What is the purpose of finalization?

1015


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

998


Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?

1029


What is queue in java?

1066


what is a working thread? : Java thread

994


What is the super void?

841


how we can make a read-only class in java?

934


What is a method type?

942


What is the exact difference in between Unicast and Multicast object?

2042


What is get () in java?

972