Junior
What is 'garbage' in the context of JVM work?
sobes.tech AI
Answer from AI
Objects in the heap that have no references from the root set (GC roots). The root set includes local variables of active threads, static fields of loaded classes, references from JNI, etc. These unreachable objects are candidates for garbage collection.