RFR: 8157023: Integrate NMT with JFR
Thomas Stuefe
stuefe at openjdk.org
Fri Dec 2 08:09:17 UTC 2022
On Fri, 2 Dec 2022 08:04:01 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:
>> src/hotspot/share/services/memReporter.cpp line 36:
>>
>>> 34: #include "utilities/globalDefinitions.hpp"
>>> 35:
>>> 36: size_t MemReporterBase::reserved_total(const MallocMemory* malloc, const VirtualMemory* vm) {
>>
>> Why the const removal?
>
> I turned `reserved_total(...)` and `committed_total(...)`into a static helpers since they did not use any members. That way my new reporter did not have to inherit `MemReporter`.
Ah okay, I was blind, sorry.
-------------
PR: https://git.openjdk.org/jdk/pull/11449
More information about the hotspot-dev
mailing list