-Xgcworkpackets

Specifies the total number of work packets available in the global collector.

Syntax

    -Xgcworkpackets<number>

Explanation

If you do not specify a value, the collector allocates a number of packets based on the maximum heap size.