mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 18:14:38 +02:00
8157024: CodeCache JFR events reporting wrong data
Fix scaling Reviewed-by: kvn
This commit is contained in:
parent
eb9fccdfd7
commit
4010176ca5
1 changed files with 1 additions and 1 deletions
|
@ -1305,7 +1305,7 @@ void CodeCache::report_codemem_full(int code_blob_type, bool print) {
|
||||||
event.set_entryCount(heap->blob_count());
|
event.set_entryCount(heap->blob_count());
|
||||||
event.set_methodCount(heap->nmethod_count());
|
event.set_methodCount(heap->nmethod_count());
|
||||||
event.set_adaptorCount(heap->adapter_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.set_fullCount(heap->full_count());
|
||||||
event.commit();
|
event.commit();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue