RFR: 8253050: jfr disassemble command processes --max-chunks incorrectly

Erik Gahlin egahlin at openjdk.java.net
Thu Sep 17 12:45:01 UTC 2020


On Wed, 16 Sep 2020 13:51:11 GMT, Ekaterina Vergizova <github.com+71385633+kvergizova at openjdk.org> wrote:

> The problem is caused by Disassemble.combineChunkSizes() implementation that checks maxChunks after incrementation of
> fileSize, therefore the first output file has extra chunk.
> Testing:
> jdk/jdk/jfr/*

Marked as reviewed by egahlin (Reviewer).

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

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


More information about the hotspot-jfr-dev mailing list