top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is the difference between Serial and Parallel Garbage Collector in Java?

+1 vote
559 views
What is the difference between Serial and Parallel Garbage Collector in Java?
posted Apr 2, 2016 by Abu Anam

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

both the serial and parallel collectors cause a stop-the-world during the Garbage Collection .

so what's the difference between them?

a serial collector is a default copying collector which uses only one Garbage Collection thread for the Garbage Collection operation, while a parallel collector uses multiple Garbage Collection threads for the Garbage Collection operation.

answer Apr 5, 2016 by Karthick.c
Similar Questions
0 votes

I am looking for detailed knowledge on serial and parallel ports along with use cases that tells when these ports are used ?

+4 votes

Is it advisable to use System.exit() for graceful client termination?

...