RFR: 6936: Parser should track statistics during parsing [v3]

Jean-Philippe Bempel github.com+4610701+jpbempel at openjdk.java.net
Wed Feb 24 07:52:05 UTC 2021


> Add new `IParserStats` interface implemented by `EventCollection`.
> That way, `IItemCollection` is not touched, but you need to cast the
> instance to `IParserStats`.
> Support of old (v0.x) JFR format.
> During parsing, we collect number of events per type, the size, number
> of chunks and version of the file.
> We also track for version 1.x/2.x the number of skipped events.
> `RecordingPrinter` tool class is modified to support a summary verbosity mode
> and `-summary` option to print statistics per event type.

Jean-Philippe Bempel has updated the pull request incrementally with one additional commit since the last revision:

  Add Oracle copyright header

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

Changes:
  - all: https://git.openjdk.java.net/jmc/pull/219/files
  - new: https://git.openjdk.java.net/jmc/pull/219/files/9f966581..0ea61a16

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jmc&pr=219&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jmc&pr=219&range=01-02

  Stats: 32 lines in 1 file changed: 32 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jmc/pull/219.diff
  Fetch: git fetch https://git.openjdk.java.net/jmc pull/219/head:pull/219

PR: https://git.openjdk.java.net/jmc/pull/219


More information about the jmc-dev mailing list