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 to perform merge sort in java?
What is the purpose of abstract class?
Can an integer be null java?
What do you mean by buffering?
What is charat java?
If system.exit (0); is written at the end of the try block, will the finally block still execute?
What are anonymous inner classes?
Can this keyword be used to refer static members?
What is another word for methodology?
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?
What is difference between protected and private?
what is heap memory?
What is object of class in java?
What does exclamation mean in java?
Explain creating threads by extending thread class ?