RFR: JDK-8187498: Add a -Xmanagement flag as syntactic sugar for -Dcom.sun.management.jmxremote.* properties

Erik Gahlin erik.gahlin at oracle.com
Wed Jan 24 12:43:33 UTC 2018


Hi Harsha,

Very nice to see progress on this!

Before reviewing, the minimal command line to start up the default 
management server now becomes

-Xmanagement:ssl=false,authenticate=false

and if you use a property that doesn't exist, or that is mandatory, you 
will get an error message stating what is wrong?

Could we reduce the command line further, so only a single property is 
needed:

-Xmanagement:secure=false

or perhaps:

-Xmanagement:unsecure

which would set ssl=false,authenticate=false, because that is what you 
want 99% of the time.

Thanks
Erik

> Hi,
>
> Please review the changes for above enhancement having webrev at,
>
> http://cr.openjdk.java.net/~hb/8187498/webrev.00/
>
> Thanks
> Harsha



More information about the serviceability-dev mailing list