RFR: 8287135: Calculation of jmm_GetMemoryUsage is wrong [v3]

Yi Yang yyang at openjdk.org
Fri Jun 17 07:02:52 UTC 2022


On Wed, 8 Jun 2022 05:25:28 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> Yi Yang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   update
>
> src/hotspot/share/services/management.cpp line 743:
> 
>> 741:   } else {
>> 742:     // Calculate the memory usage by summing up the pools.
>> 743:     // NonHeapUsage = CodeHeaps + Metaspace
> 
> I think the new comments in this file can be removed.

Thank you @iklam for review! All your comments have been addressed. I also fixed another jtreg failure(LowMemoryTest2.sh)

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

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


More information about the serviceability-dev mailing list