Search code examples
javagarbage-collectionjvmjvm-arguments

JDK 1.6 GC AdaptiveSizeThroughPutPolicy


Please explain the detailed meaning of VALUE used in the GC option :

-XX:AdaptiveSizeThroughPutPolicy

By default value given is 0. Does this VALUE imply - the number of steps to use heuristics before real data is used?. What are implications of using a high(eg: 50 or 100) or low value (eg: 0)


Solution

  • The best way I know to understand those arcane options is going directly to the source: psAdaptiveSizePolicy.cpp

    It seems that 1 and !=1 are the only valid choices.

    -XX:AdaptiveSizeThroughPutPolicy=1 is used in coordination with -XX:AdaptiveSizePolicyInitializingSteps=VALUE.