Re: Understanding C* -XX:MaxTenuringThreshold=1

2015-10-26 Thread John Schulz
You are correct. That is the intent of the MaxTenuringThreshold parameter. Setting the value > 1 keeps objects in survivor space longer, if there is space to keep them. The intent of keeping objects in survivor space for longer than one ParNew cycle is to prevent relatively short lived objects from

Understanding C* -XX:MaxTenuringThreshold=1

2015-10-25 Thread qihuang.zheng
As Cassandra default-XX:MaxTenuringThreshold=1, which means: first time YGC, Eden's live object copy to Survivor(S0), those survivor object's age counter=1. Then next time YGC, Eden live object and S0 will copy to S1. and those still live object from S0 age counter=2 which large than MaxTenuringT