[13u] RFR: 8234270: [REDO] JDK-8204128 NMT might report incorrect numbers for Compiler area

Dmitry Cherepanov dcherepanov at azul.com
Tue Jun 9 09:35:40 UTC 2020


Looks good to me.

Thanks,

Dmitry

On 09.06.2020 11:14, Andrew Brygin wrote:
> Hello,
>
>   I would like to backport the fix for 8234270 to 13u:
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8234270
> Original change: https://hg.openjdk.java.net/jdk/jdk/rev/ac6f7738a0ee
> Webrev: http://cr.openjdk.java.net/~bae/13u/8234270/webrev.00/
>
>   The original change applies cleanly, except method
> MemoryCounter::resize(), where the context needs to be updated due to
> absence of the fix for JDK-8234737 (Harmonize parameter order in Atomic
> - add) in 13u:
>
> src/hotspot/share/services/mallocTracker.hpp:
> <        Atomic::add(&_size, size_t(sz));
> ---
>>         Atomic::add(size_t(sz), &_size);
>   Tested with tier1 on linux x86_64.
>
> Thanks,
> Andrew




More information about the jdk-updates-dev mailing list