Interface GCDefaultPreferences

All Known Implementing Classes:
GCDefaultPreferencesImpl

public interface GCDefaultPreferences
This class provides default values for the garbage collection preferences
  • Method Details

    • getDefaultLowOccupancyThreshold

      int getDefaultLowOccupancyThreshold()
      Gets the default value for the low occupancy threshold.
      Returns:
      the lower threshold, as a percentage of used heap.
    • getDefaultHighOccupancyThreshold

      int getDefaultHighOccupancyThreshold()
      Gets the default value for the high occupancy threshold.
      Returns:
      the upper threshold, as a percentage of used heap.
    • getDefaultPauseLengthThreshold

      int getDefaultPauseLengthThreshold()
      Gets the default value for the long pause threshold.
      Returns:
      the pause length threshold, in milliseconds.
    • getDefaultCompactionPercentageThreshold

      int getDefaultCompactionPercentageThreshold()
      Gets the default value for the excessive compaction threshold.
      Returns:
      the compaction threshold, as a percentage of garbage collections.
    • getDefaultSystemGCPercentageThreshold

      int getDefaultSystemGCPercentageThreshold()
      Gets the default value for the system garbage collection threshold.
      Returns:
      the system garbage collection threshold, as a percentage of garbage collections.