(Linux® x86, Linux on POWER® (Little Endian), Linux on AArch64, and Linux on IBM Z® only)

The -Xshareclasses option is an existing option and disableOnRestore is its new parameter that can be used if the CRIU feature is available. This option is disabled by default.





The -Xshareclasses:disableOnRestore option disables further use of the shared classes cache (SCC) on restore. You can still use the shared classes utility APIs, for example, to obtain metrics about the shared cache.

The -Xshareclasses:disableOnRestore option is similar to the existing -Xshareclasses:none option but with the following differences:

See also