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

Andrew Brygin abrygin at azul.com
Tue Jun 9 08:14:57 UTC 2020


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