RFR: 8270091: The path of JFR emergency dump should be able to specified by the user
Yasumasa Suenaga
ysuenaga at openjdk.java.net
Tue Jul 13 02:05:53 UTC 2021
On Mon, 12 Jul 2021 18:12:36 GMT, Erik Gahlin <egahlin at openjdk.org> wrote:
> There exists -XX:FlightRecorderOptions:dumppath.
>
> Not sure if it works, and the long term plan is to use the path specified with -XX:StartFlightRecording.
`dumppath` wouldn't work because emergency dump uses `get_current_directory()` to create dump path (you can see it in this PR).
JDK-8196050 covers not only emergency dump path and also `maxage` and `maxsize`. We will have to discuss a lot for this RFE, but it does not seem so active. And also I think it can be split - dump path and the others. This PR will help JDK-8196050.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4724
More information about the hotspot-jfr-dev
mailing list