hi all<div>   I have an application that generating many large objects and then discard them. I found that full gc can free memory from 70% to 40%. </div><div>   I want to let this objects in young generation longer. I found -XX:MaxTenuringThreshold and -XX:PretenureSizeThreshold.</div>
<div>   But I found a blog that says MaxTenuringThreshold is not used in ParNewGC.</div><div>And I use ParNewGC+CMS. I tried to set MaxTenuringThreshold=10, but it seems no difference.</div>