8157024: CodeCache JFR events reporting wrong data

Fix scaling

Reviewed-by: kvn
This commit is contained in:
Patric Hedlin 2016-08-30 13:53:36 +02:00 committed by Nils Eliasson
parent eb9fccdfd7
commit 4010176ca5

View file

@ -1305,7 +1305,7 @@ void CodeCache::report_codemem_full(int code_blob_type, bool print) {
event.set_entryCount(heap->blob_count());
event.set_methodCount(heap->nmethod_count());
event.set_adaptorCount(heap->adapter_count());
event.set_unallocatedCapacity(heap->unallocated_capacity()/K);
event.set_unallocatedCapacity(heap->unallocated_capacity());
event.set_fullCount(heap->full_count());
event.commit();
}