Integrated: 8253235: JFR.dump does not respect maxage parameter

Ekaterina Vergizova github.com+71385633+kvergizova at openjdk.java.net
Mon Oct 19 14:23:23 UTC 2020


On Fri, 18 Sep 2020 10:15:55 GMT, Ekaterina Vergizova <github.com+71385633+kvergizova at openjdk.org> wrote:

> JFR.dump command creates a clone of the original recording, but maxage and maxsize parameters are not copied to the
> clone in PlatformRecording.newSnapshotClone(). When PlatformRecording.appendChunk() is called for the clone to append
> the latest data, trimToAge() and trimToSize() are not performed because maxAge and maxSize are not set. Therefore the
> clone sometimes dumps outdated chunks to the disk.
> Testing:
> jdk/jdk/jfr/*

This pull request has now been integrated.

Changeset: a0382cd1
Author:    Ekaterina Vergizova <katya at azul.com>
Committer: Vladimir Kempik <vkempik at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/a0382cd1
Stats:     2 lines in 1 file changed: 2 ins; 0 del; 0 mod

8253235: JFR.dump does not respect maxage parameter

Reviewed-by: egahlin

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

PR: https://git.openjdk.java.net/jdk/pull/239


More information about the hotspot-jfr-dev mailing list