DEVFYI - Developer Resource - FYI

What is a Throughput Collector?

Java Interview Questions and Answers (part 3)

(Continued from previous question...)

430. What is a Throughput Collector?

The throughput collector is a generational collector similar to the default collector but with multiple threads used to do the minor collection. The major collections are essentially the same as with the default collector. By default on a host with N CPUs, the throughput collector uses N garbage collector threads in the collection. The number of garbage collector threads can be controlled with a command line option.

(Continued on next question...)

Other Interview Questions