On Fri, 17 Apr 2026 20:43:32 GMT, Evgeny Astigeevich <[email protected]> 
wrote:

> This PR adds blobs/nmethods/adapters stats per code heap in 
> CodeCahe::print_summary:
> 
> CodeHeap 'non-profiled nmethods': size=118592Kb used=370Kb max_used=370Kb 
> free=118221Kb
>  bounds [0x00007f2093d3a000, 0x00007f2093faa000, 0x00007f209b10a000]
>  blobs=397, nmethods=397, adapters=0, full_count=0
> CodeHeap 'profiled nmethods': size=118592Kb used=2134Kb max_used=2134Kb 
> free=116457Kb
>  bounds [0x00007f208c109000, 0x00007f208c379000, 0x00007f20934d9000]
>  blobs=1091, nmethods=1091, adapters=0, full_count=0
> CodeHeap 'non-nmethods': size=8580Kb used=4461Kb max_used=4506Kb free=4118Kb
>  bounds [0x00007f20934d9000, 0x00007f2093949000, 0x00007f2093d3a000]
>  blobs=478, nmethods=0, adapters=387, full_count=0
> CodeCache: size=245764Kb, used=6965Kb, max_used=7010Kb, free=238796Kb
>  total_blobs=1966, nmethods=1488, adapters=387, full_count=0
> Compilation: enabled, stopped_count=0, restarted_count=0
> 
> 
> This information is useful for debugging CodeCache.
> 
> Testing: fastdebug, tier1-tier2 passed.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 8353f2e7
Author:    Evgeny Astigeevich <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/8353f2e7fc3a9bdba541ff8d4f37c037c0ecc46a
Stats:     100 lines in 3 files changed: 50 ins; 5 del; 45 mod

8307537: Print blobs/nmethods/adapters stats per code heap in 
CodeCache::print_summary

Reviewed-by: kvn, dfenacci

-------------

PR: https://git.openjdk.org/jdk/pull/30803

Reply via email to