These methods can be used as a hint to the JVM, in order to start a garbage collection. However, this it is up to the Java Virtual Machine (JVM) to start the garbage collection immediately or later in time.
Liked By
Write Answer
What does System.gc() and Runtime.gc() methods do ?
Join MindStick Community
You have need login or register for voting of answers or question.
Anonymous User
14-Jan-2015