Jay Taylor's notes

back to listing index

java - JDK 1.6 GC AdaptiveSizeThroughPutPolicy - Stack Overflow

[web search]
Original source (stackoverflow.com)
Tags: java jvm garbage-collection stackoverflow.com
Clipped on: 2012-08-21

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)

Image (Asset 1/2) alt=2,25711029
asked Nov 12 '10 at 7:37
Image (Asset 2/2) alt=19112

67% accept rate
add comment

1 Answer

up vote 2 down vote accepted

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.

answered Nov 26 '10 at 9:17
antispam
2,25711029
1
up voted
Never went through the source code for vm options - thanks for the link! – Anna Dec 20 '10 at 17:45
add comment

Your Answer

 
community wiki

Not the answer you're looking for? Browse other questions tagged or ask your own question.