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
How do you add spaces in java?
What is anagram of a string?
what is thread in Java ?
Explain the concept of proper inheritance?
Can we access the non-final local variable, inside the local inner class?
When is the finalize() called? What is the purpose of finalization?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
Explain which of the following methods releases the lock when yield(), join(),sleep(),wait(),notify(), notifyall() methods are executed?
What is queue in java?
what is a working thread? : Java thread
What is the super void?
how we can make a read-only class in java?
What is a method type?
What is the exact difference in between Unicast and Multicast object?
What is get () in java?