Skip to content

-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.

This option can be used with all Eclipse OpenJ9™ GC policies.