RFR: 8378110: Add -XX: prefix to settings-file flags in RuntimeMXBean.getInputArguments() [v2]

Alan Bateman alanb at openjdk.org
Fri Feb 27 07:32:24 UTC 2026


On Mon, 23 Feb 2026 13:40:02 GMT, Oli Gillespie <ogillespie at openjdk.org> wrote:

> @AlanBateman Any further concerns?

Just mulling over whether this should have a release note, maybe a CSR, as it is observable when using RuntimeMXBean. I don't think there is much of a compatibility concern as anything using RuntimeMXBean::getInputStreamArguments, say to launch another with same options, must be handling it already (or not handling it, maybe .hotspotrc isn't widely used these days and such usages have overlapped much with uses of RuntimeMXBean::getInputStreamArguments)

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

PR Comment: https://git.openjdk.org/jdk/pull/29793#issuecomment-3971304196


More information about the serviceability-dev mailing list