-Xalwaysclassgc

Always perform dynamic class unloading checks during global garbage collection.

Syntax

    -Xalwaysclassgc

Default behavior

If you don't set this option, the default behavior is defined by -Xclassgc.