Tuesday, April 30, 2019

Java Garbage Collection

This article is featured in the new DZone Guide to Java: New Developments & Features. Get your free copy for insightful articles, industry stats, and more!

Java manages heap memory for you. You run your application inside a virtual machine (JVM). The JVM does the work of allocating space when necessary and freeing it when it is no longer needed. The garbage collector (GC) is what does this work for you.



from DZone.com Feed http://bit.ly/2VDzm4M

No comments:

Post a Comment