RFR: 8271726: JFR: should use equal() to check event fields in tests

Denghui Dong ddong at openjdk.java.net
Tue Aug 3 11:22:58 UTC 2021


Hi,

Please help review this trivial test fix.

In TestHeapDump.java, we should use EventField.equal() to check fields, but there are two lines that didn't abide by this rule(I think it's a typo).

No other similar mistake was found in other jfr tests.

Thanks,
Denghui

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

Commit messages:
 - 8271726: JFR: should use equal() to check event fields in tests

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

PR: https://git.openjdk.java.net/jdk/pull/4970


More information about the hotspot-jfr-dev mailing list