8067378: Add segmented code heaps info into jfr events: vm/code_cache/stats and vm/code_cache/config

Added code heap specific information to code cache JFR events.

Reviewed-by: twisti, mgronlun
This commit is contained in:
Tobias Hartmann 2015-11-09 11:35:44 +01:00
parent 8d1f664989
commit 5d86db4b66
6 changed files with 104 additions and 37 deletions

View file

@ -1547,7 +1547,7 @@ void nmethod::flush() {
if (PrintMethodFlushing) {
tty->print_cr("*flushing nmethod %3d/" INTPTR_FORMAT ". Live blobs:" UINT32_FORMAT
"/Free CodeCache:" SIZE_FORMAT "Kb",
_compile_id, p2i(this), CodeCache::nof_blobs(),
_compile_id, p2i(this), CodeCache::blob_count(),
CodeCache::unallocated_capacity(CodeCache::get_code_blob_type(this))/1024);
}