RFR: 8313722: JFR: Avoid unnecessary calls to Events.from(Recording)

Erik Gahlin egahlin at openjdk.org
Fri Aug 4 04:01:46 UTC 2023


Could I have a review of PR that removes unnecessary calls to Events.from(Recording). 

With each call a new dump file is created. A better approach is store the events in a List that can be reused,

Testing: jdk/jdk/jfr

Thanks
Erik

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

Commit messages:
 - Initial

Changes: https://git.openjdk.org/jdk/pull/15147/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15147&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8313722
  Stats: 48 lines in 11 files changed: 14 ins; 1 del; 33 mod
  Patch: https://git.openjdk.org/jdk/pull/15147.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15147/head:pull/15147

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


More information about the hotspot-dev mailing list