Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit

Restriction: This system property is supported only on Java™ 11 and later.

Use this system property to control the type of processing that can be offloaded to a graphics processing unit (GPU) when processing requirements meet a specific threshold. This feature can improve the performance of certain Java functions.

Setting Effect
all Turns on GPU processing for all possible Java functions.
sort Turns on GPU processing only for the Java sort() function.

By default, this property is not set.


Because establishing and completing communication with a GPU incurs an additional overhead, not all processing requirements benefit from being offloaded to the GPU. When set, this property enables GPU processing for any array that meets a minimum size.

See also