Tag Archives: Programming Languages

TOP 10 JVM Garbage Collection Interview Questions

Questions: Describe the Java garbage collection mechanism. What is GC? Why do we use GC? Advantages and principles of garbage collection, and describe two recovery mechanisms. What is the basic principle of the garbage collector? Can the garbage collector reclaim memory immediately? What’s the way to actively notify the virtual machine for garbage collection? What are the reference… Read More »