RFR: 8204476: Add additional statistics to CodeCache::print_summary
Thomas Stüfe
thomas.stuefe at gmail.com
Sat Jun 9 15:25:36 UTC 2018
<snip>
>>
>> - More of a question to others: I am not familiar with compiler
>> coding, but signed int as counters seem a bit small? Is there no
>> danger of ever overflowing on long running VMs? Or does it not matter
>> if they do?
>
>
> I never observed compilations count over 1M (10^6). And there is no issue if
> they overflow - it is just number printed in statistic and logs. We have
> also use it as compilation task id and I think it is also safe.
>
> Note, in stable application case you should not have a lot of compilations.
> It should not be more than application's + system's hot methods.
>
> New counters in this change are much smaller - they count how many times
> CodeCache become full which should not happen in normal case.
>
Ah, thanks for clarifying.
Best Regards, Thomas
> Regards,
> Vladimir
>
>>
>> Thanks, Thomas
>>
>
More information about the hotspot-dev
mailing list