Garbage Collection(GC) which is a Daemon thread is invoked by the JVM to find all the unused objects and destroy them to free up the 'Heap Space'
Tag: Garbage collector
JVM Architecture In Depth
So, whenever we try to load a class, our System ClassLoader⇒ delegates it to the Extension ClassLoader⇒, which in turns delegates it to Bootstrap ClassLoader, which ultimately finds the class and loads it into the JVM.