RFR: 8297338: JFR: RemoteRecordingStream doesn't respekt setMaxAge and setMaxSize

Erik Gahlin egahlin at openjdk.org
Mon Nov 21 17:59:31 UTC 2022


Could I have a review of a PR  that fixes so event data is kept in the disk repository if max age or max size have been set. This is similar implementation as RecordingStream:
https://github.com/openjdk/jdk/blob/b366d17a94e5b16710fd915ef4cf04aaf911b455/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordingStream.java#L287

Testing: 100 * test/jdk/jdk/jfr/jmx/stream/TestRemoteDump.java + 1 * test/jdk/jdk/jfr/

Thanks
Erik

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

Commit messages:
 - Initial

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

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


More information about the hotspot-jfr-dev mailing list