adspace
What is meant by gc, prallel gc, full gc and explain it?
Answer Posted / Sakshi Singh
Garbage Collection (GC) in JVM is the automatic process of freeing up memory occupied by objects that are no longer being used. Parallel GC (as mentioned earlier) uses multiple threads for garbage collection. Full GC, also known as a stop-the-world GC, pauses all application threads to perform a thorough sweep of the heap, collecting all unused objects. This can have significant performance impacts but is necessary at times.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category