RFR(L): 8198691: CodeHeap State Analytics

Tobias Hartmann tobias.hartmann at oracle.com
Wed Mar 7 09:40:34 UTC 2018


Hi Lutz,

On 07.03.2018 10:26, Schmidt, Lutz wrote:
> just one quick question on printing on CodeCache full condition:
> 
> We have the print call in CodeCache::report_codemem_full():
>   if ((heap->full_count() == 0) || print) {
>     ...
>     if (heap->full_count() == 0) {
>       CompileBroker::print_heapinfo(tty, "all", "4096"); // details, may be a lot!
>     }
>   }
>   ...
> 
> Would that location be ok for you?

Yes but I would prefer to guard this by PrintCodeHeapState (or the unified logging equivalent) to
avoid too much information being printed in production systems because it might confuse the
non-expert users.

Thanks,
Tobias


More information about the hotspot-compiler-dev mailing list