IBM User Guide for Java V7 on Windows > Reference > Command-line options > Garbage Collector command-line options



-Xsoftrefthreshold

Sets the value used by the garbage collector to determine the number of garbage collections after which a soft reference is cleared if its referent has not been marked.

-Xsoftrefthreshold<number>
The default is 32, meaning that the soft reference is cleared after 32 * (percentage of free heap space) garbage collection cycles where its referent was not marked. For example, if -Xsoftrefthreshold is set to 32, and the heap is 50% free, soft references are cleared after 16 garbage collection cycles.


Parent: Garbage Collector command-line options








Error 404 - Not Found

Error 404 - Not Found

The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.