Integrated: 6936: Parser should track statistics during parsing
Jean-Philippe Bempel
github.com+4610701+jpbempel at openjdk.java.net
Tue Mar 2 10:46:43 UTC 2021
On Tue, 23 Feb 2021 09:24:55 GMT, Jean-Philippe Bempel <github.com+4610701+jpbempel at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 0c7ae2a0
Author: Jean-Philippe Bempel <jean-philippe at bempel.fr>
Committer: Marcus Hirt <hirt at openjdk.org>
URL: https://git.openjdk.java.net/jmc/commit/0c7ae2a0
Stats: 562 lines in 24 files changed: 499 ins; 0 del; 63 mod
6936: Parser should track statistics during parsing
Reviewed-by: hirt
-------------
PR: https://git.openjdk.java.net/jmc/pull/219
More information about the jmc-dev
mailing list