RFR: 8254723: add diagnostic command to write Linux perf map file [v2]

Nick Gasson ngasson at openjdk.java.net
Wed Oct 21 09:13:09 UTC 2020


On Tue, 20 Oct 2020 10:52:27 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 
> Because it seems that for the short jobs, we would like to just do "perf record java -XX:+WhatEver", followed by "perf report", without requiring user to invoke the diagnostic command while JVM is still running?

Yes that sounds like a good idea. Add a (diagnostic?) option `-XX:+WritePerfMapOnExit`?

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

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


More information about the serviceability-dev mailing list