Integrated: 8281946: VM.native_memory should report size of shareable memory

Matias Saavedra Silva matsaave at openjdk.org
Thu Dec 15 05:07:11 UTC 2022


On Mon, 28 Nov 2022 23:56:02 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:

> The native memory reporting has been improved to also include the amount of shareable (read only) data. Verified with test tiers 1,2, and 4.
> 
> Sample output:
> 
> Total: reserved=33890498670, committed=2360907886
>        malloc: 75159662 #26118
>        mmap:   reserved=33815339008, committed=2285748224
> .............
> -        Shared class space (reserved=16777216, committed=13545472, readonly=8315472)
>                             (mmap: reserved=16777216, committed=13545472) 
>  
> -               Arena Chunk (reserved=441792, committed=441792)
>                             (malloc=441792)

This pull request has now been integrated.

Changeset: d1085d1b
Author:    Matias Saavedra Silva <matsaave at openjdk.org>
Committer: Ioi Lam <iklam at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d1085d1be7bc798ced8d539062fa7a9a3ab0341c
Stats:     35 lines in 4 files changed: 33 ins; 0 del; 2 mod

8281946: VM.native_memory should report size of shareable memory

Reviewed-by: stuefe, iklam

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

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


More information about the hotspot-runtime-dev mailing list