RFR: 8298992: runtime/NMT/SummarySanityCheck.java failed with "Total commi…tted (MMMMMM) did not match the summarized committed (NNNNNN)

Thomas Stuefe stuefe at openjdk.org
Wed Aug 23 09:10:02 UTC 2023


On Tue, 22 Aug 2023 19:34:27 GMT, Gerard Ziemski <gziemski at openjdk.org> wrote:

> so we keep trying in a loop until we catch the system in a quiet enough period where:
> 
> `s._all_mallocs.size() == s._malloc[nmt_type1] + s._malloc[nmt_type2] + ...`

Either that or until the loop count is exhausted. That's what I meant - the assert could only fire if 100 tries were not enough to get a consistent picture.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15306#discussion_r1302489403


More information about the hotspot-runtime-dev mailing list