Serial and Parallel Collections algorithms
Serial and Parallel Collections algorithms
In serial collection only single CPU is utilised. Only one thing is happen at a time because it is a serial collection. After completion of one another collection will start.
While in parallel collection, garbage collection task is divided into small parts and those parts are divided among multiple CPU. So the collection is getting done more faster than the serial collection.