RFR: 8281946: VM.native_memory should report size of shareable memory [v9]
Thomas Stuefe
stuefe at openjdk.org
Fri Dec 9 16:26:02 UTC 2022
On Fri, 9 Dec 2022 15:58:51 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)
>
> Matias Saavedra Silva has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 18 commits:
>
> - Merge branch 'master' into nativeMemory_8281946
> - Hid CDS features from MemReporter
> - Encapsulated readonly into CDS
> - Fixed mistake during merging
> - Merging with master
> - Reverted and ajusted test
> - Ioi comments
> - Comments and suggestions
> - Assert should now pass on windows
> - Fixed assert for windows platform
> - ... and 8 more: https://git.openjdk.org/jdk/compare/b30b464d...17874d97
This looks good. Thanks for your patience!
Cheers, Thomas
-------------
Marked as reviewed by stuefe (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11401
More information about the hotspot-runtime-dev
mailing list