RFR: 8341633: StatSampler::assert_system_property: Print the keys and values of the assert

Johan Sjölen jsjolen at openjdk.org
Mon Oct 7 11:48:07 UTC 2024


Hi,

This trivial PR adds that the failing assert also prints the differing values so that we can more easily debug what's wrong when this assert is triggered.

Thanks.

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

Commit messages:
 - Print the values

Changes: https://git.openjdk.org/jdk/pull/21386/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21386&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341633
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/21386.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21386/head:pull/21386

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


More information about the hotspot-runtime-dev mailing list