RFR: 8378110: Add -XX: prefix to settings-file flags in RuntimeMXBean.getInputArguments() [v4]
Kevin Walls
kevinw at openjdk.org
Fri Feb 27 15:11:04 UTC 2026
On Fri, 27 Feb 2026 14:57:24 GMT, Oli Gillespie <ogillespie at openjdk.org> wrote:
> Should I add (`-XX:Flags=`/.hotspotrc) or just flags is enough?
I think what you have there now is good, if you are going to be hit by this change, it is reasonable you know that a filename comes next... We don't need to get into what the filename could be. (".hotspotrc" not read unless you specify it in Flags= but it's slightly special in that we do warn if it's there, but I think that's for historical reasons)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/29793#issuecomment-3973436995
More information about the serviceability-dev
mailing list