Cost of single-threaded nmethod hotness updates at each safepoint (in JDK 8)

Bernd Eckenfels ecki at zusammenkunft.net
Fri Jul 31 21:44:45 UTC 2015


Am Fri, 31 Jul 2015 12:07:18 -0700
schrieb Srinivas Ramakrishna <ysr1729 at gmail.com>:

> sun.ci.codeCacheSweepsTotalNum=58
...
> Notice that the code cache usage is less that 35 MB, for the 240 MB
> capacity, yet it seems we have had 58 sweeps already

I would also be interested in what causes this. Is this caused by
System.gc maybe? (we do see sweeps and decreasing code cache usage on
systems where no pressure should exist).

Gruss
Bernd


More information about the hotspot-gc-dev mailing list