RFR: JDK-8296764 NMT: reduce loads in os::malloc [v2]
Thomas Stuefe
stuefe at openjdk.org
Fri Nov 11 06:10:22 UTC 2022
On Thu, 10 Nov 2022 23:32:49 GMT, Ioi Lam <iklam at openjdk.org> wrote:
>> Thomas Stuefe has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Feedback andrew, ioi
>
> src/hotspot/share/services/nmtPreInit.cpp line 182:
>
>> 180: // in post-init, no modifications to the lookup table are possible.
>> 181: void NMTPreInit::pre_to_post() {
>> 182: assert(MemTracker::is_initialized() == false, "just once");
>
> Maybe this should be `!MemTracker::is_initialized()` to be consistent with the rest of the code?
Done.
-------------
PR: https://git.openjdk.org/jdk/pull/11080
More information about the hotspot-runtime-dev
mailing list