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
What about interrupt() method of thread class ?
What are the benefits of operations in java?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
what is the difference between yielding and sleeping? : Java thread
Is java still relevant?
What is functional interface in javatpoint?
How does regex work?
What are the different http methods?
What is a container in a gui?
Can a static class have a constructor java?
What are the differences between processes and threads?
What is static import in java?
Explain about public and private access specifiers?
What is constructor chaining in java?
How do you escape in java?