RFR: 8253050: jfr disassemble command processes --max-chunks incorrectly
Ekaterina Vergizova
github.com+71385633+kvergizova at openjdk.java.net
Thu Sep 17 11:21:55 UTC 2020
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/*
-------------
Commit messages:
- 8253050: jfr disassemble command processes --max-chunks incorrectly
Changes: https://git.openjdk.java.net/jdk/pull/205/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=205&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8253050
Stats: 21 lines in 2 files changed: 13 ins; 6 del; 2 mod
Patch: https://git.openjdk.java.net/jdk/pull/205.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/205/head:pull/205
PR: https://git.openjdk.java.net/jdk/pull/205
More information about the hotspot-jfr-dev
mailing list