Yonger
Yonger

Reputation: 43

How to disable AdaptiveSizePolicy in JVM?

I got a message that if we set min and max of heap size and young generation size to equal separately from [Java Performance], jvm will disable AdaptiveSizePolicy function automatically. But this work failed in my test bed of jdk1.6 and 1.7. Only add option -XX:-UseAdaptiveSizePolicy will disable JVM auto scale the young and heap size.

Upvotes: 0

Views: 792

Answers (1)

this_is_om_vm
this_is_om_vm

Reputation: 636

Set -XX:-UseAdaptiveSizePolicy

Upvotes: 2

Related Questions