Imagine that you need to create an application that is extremely short-lived. When you exit an application, JVM shuts down, and all the heap memory is reclaimed. Since executing a GC cycle takes up some time (though as little as possible), you might consider using Epsilon GC with your application.
Let's get started by using Epsilon GC with some example code.