RFR: 8096: EventTemplateTest fails for JDKs with custom jfr profiles

Christoph Langer clanger at openjdk.org
Tue Jun 20 22:05:16 UTC 2023


EventTemplateTest could be made more robust to not fail for VMs that deliver custom JFR profiles, such as SapMachine does.

The test currently expects that every JFR profile contains all available events which might not be true. The generic idea to fix this is to only assume this for profiles that are tagged with `provider="Oracle"`.

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

Commit messages:
 - JMC-8096

Changes: https://git.openjdk.org/jmc/pull/501/files
 Webrev: https://webrevs.openjdk.org/?repo=jmc&pr=501&range=00
  Issue: https://bugs.openjdk.org/browse/JMC-8096
  Stats: 13 lines in 1 file changed: 3 ins; 3 del; 7 mod
  Patch: https://git.openjdk.org/jmc/pull/501.diff
  Fetch: git fetch https://git.openjdk.org/jmc.git pull/501/head:pull/501

PR: https://git.openjdk.org/jmc/pull/501


More information about the jmc-dev mailing list