Article Discussion
Java's Garbage-Collected Heap
Summary: A key feature of Java is its garbage-collected heap, which takes care of freeing dynamically allocated memory that is no longer referenced. Because the heap is garbage-collected, Java programmers don't have to explicitly free allocated memory. Here's a hands-on introduction to Java's garbage-collected heap.
0 posts.
The ability to add new comments in this discussion is temporarily disabled.
    Bill
     
    Posts: 409 / Nickname: bv / Registered: January 17, 2002 4:28 PM
    Java's Garbage-Collected Heap
    August 1, 1996 8:34 AM      
    A key feature of Java is its garbage-collected heap, which takes care of freeing dynamically allocated memory that is no longer referenced. Because the heap is garbage-collected, Java programmers don't have to explicitly free allocated memory. Here's a hands-on introduction to Java's garbage-collected heap.

    Read this Artima.com article:

    http://www.artima.com/underthehood/gc.html