CMS cycles triggered by Perm almost being full

Jon Masamitsu jon.masamitsu at oracle.com
Wed Oct 2 21:45:40 UTC 2013


On 10/2/2013 11:51 AM, Srinivas Ramakrishna wrote:
>
> ...
> Ah, sorry, I wouldn't be familiar with the perm(metadatapsace)-related
> triggers in 8.
> There may have been something in the Q&A following Coleen's perm
> removal talk at J1
> perhaps. I haven't looked at the code,so  I'll let Jon/Mikael etc.
> speak to that.
>
>
If the amount of class metadata reaches the high-water-mark (kind of a 
soft limit
on metadata space) and CMS is in use and CMS is doing class unloading,
a CMS internal flag is set to tell the CMS thread to start a concurrent 
collection.
The high-water-mark is raised so another CMS collection should not happen
early (before the new high-water-mark is reached).

Jon




More information about the hotspot-gc-dev mailing list