cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "qihuang.zheng"<>
Subject Understanding C* -XX:MaxTenuringThreshold=1
Date Mon, 26 Oct 2015 04:18:59 GMT
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 MaxTenuringThreshold=1, then they will promot to Old Gen.
from this, I get this conclusion:
1. After YGC, Eden live object copy toto survivor(age=1),from survivor(age=2)first copy toto
survivorthen transfer to old gen.
2. Old Gen's increment size after this YGC will not large than latestfrom survivor's size.
3. Survivor's object age counter aways be 1. as those counter=2 promot to Old, then disappear
from survivor.

Plz tell me it’s right.

View raw message