Duplicate :
|
|
Relates :
|
|
Relates :
|
It has been observed with 6.0 u4 that CMS is far less efficient than with 6.0 u2. While we get a regular sawtooth curve in u2 we notice with u4 that CMS for some reason seems to be unable to collect all dead objects. The effect will be be over time more frequent CMS runs which collect fewer and fewer objects. Used memory increases as well as cpu consumption. However, later on, CMS is then suddenly able to collect large chunks. Memory usage will go down. This scenario will then repeat from the beginning. Changed synopsis to reflect evaluation of root cause: 6u2+, 7b11+: CMS never clears referents when -XX:+ParallelRefProcEnabled
|