A Java virtual machine (JVM) is a process virtual machine that can execute Java bytecode. It is the code execution component of the Java platform.
JVM
The built in garbage collection in the JVM is designed so that when an object is no longer alive (can not be referenced from... One of the reasons I like Java is that the virtual machine allows you to forget about the underlying hardware/OS most of the time...