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

Harsha Wardhana B harsha.wardhana.b at oracle.com
Thu Feb 22 03:56:56 UTC 2018



On Wednesday 21 February 2018 09:51 PM, mandy chung wrote:
>
>
> On 2/20/18 9:55 PM, Harsha Wardhana B wrote:
>>
>> We cannot get rid of specifying options via -D. We have plenty of -D 
>> flags but very few have short-hand alternative via 
>> --start-management-agent. If management properties are specified by 
>> --start-management-agent, the options specified by -D are anyway 
>> overwritten if specified.
>
> I have to see the specification of this feature and give further 
> feedback.   If the new option does not accept all management 
> properties, what is the benefit of this new option?
The new options makes it easy to start and configure default agent. As 
of now, users needs to be aware of -D flags which are long and 
cumbersome. Hence only most frequently used -D flags are given the 
short-hand alternative to --start-management-agent.

Harsha
>
> Mandy



More information about the serviceability-dev mailing list