RFR: 8298526: Close the stopped jfr after using name JFR.dump [v3]
xpbob
duke at openjdk.org
Sun Dec 11 08:53:13 UTC 2022
> start jfr with duration
>
> jcmd 31514 JFR.start duration=30s
> 31514:
> Started recording 1.
>
> Use jcmd 31514 JFR.stop name=1 filename=FILEPATH to copy recording data to file.
>
>
>
> use JFR.check after 30s
>
> jcmd 31514 JFR.check
> 31514:
> Recording 1: name=1 duration=30s (stopped)
>
>
> Unable to close the stopped jfr
>
> jcmd 31514 JFR.stop name=1 filename=/data/test.jfr
> 31514:
> Destination can't be set on a recording that has been stopped/closed
> ```
>
> Add a check after using name dump,close the stopped jfr
xpbob has updated the pull request incrementally with one additional commit since the last revision:
use stop cmd to check
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11625/files
- new: https://git.openjdk.org/jdk/pull/11625/files/da798e4a..1ae644e5
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11625&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11625&range=01-02
Stats: 8 lines in 2 files changed: 3 ins; 4 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/11625.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11625/head:pull/11625
PR: https://git.openjdk.org/jdk/pull/11625
More information about the hotspot-jfr-dev
mailing list