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

Afshin Zafari azafari at openjdk.org
Wed Aug 30 11:14:23 UTC 2023


On Wed, 16 Aug 2023 12:18:35 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

> During exhaustive tests, it is observed that during taking snapshot of NMT metrics it is possible that new allocations happen concurrently, although a `ThreadCritical` is used during copying current metrics to the snapshot.
> A loop is surrounding the copying and checks whether the copied and original are the same.

This pull request has now been integrated.

Changeset: bf63945a
Author:    Afshin Zafari <azafari at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bf63945ad1542dbdcbaf652a518a2381868244d8
Stats:     34 lines in 2 files changed: 24 ins; 9 del; 1 mod

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

Reviewed-by: gziemski, stuefe

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

PR: https://git.openjdk.org/jdk/pull/15306


More information about the hotspot-runtime-dev mailing list