Mercurial > hg > icedtea7-forest > hotspot
changeset 6397:88abb663cdf9 icedtea-2.7.0pre05
6425769, PR2858: Allow specifying an address to bind JMX remote connector
Reviewed-by: jbachorik, dfuchs
author | sgehwolf |
---|---|
date | Fri, 18 Dec 2015 08:55:47 +0100 |
parents | c457fd1ec6c1 |
children | 90b0393fa220 |
files | src/share/vm/services/diagnosticCommand.cpp src/share/vm/services/diagnosticCommand.hpp |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/services/diagnosticCommand.cpp Wed Mar 23 22:50:27 2016 +0000 +++ b/src/share/vm/services/diagnosticCommand.cpp Fri Dec 18 08:55:47 2015 +0100 @@ -356,6 +356,10 @@ ("config.file", "set com.sun.management.config.file", "STRING", false), + _jmxremote_host + ("jmxremote.host", + "set com.sun.management.jmxremote.host", "STRING", false), + _jmxremote_port ("jmxremote.port", "set com.sun.management.jmxremote.port", "STRING", false), @@ -431,6 +435,7 @@ { _dcmdparser.add_dcmd_option(&_config_file); + _dcmdparser.add_dcmd_option(&_jmxremote_host); _dcmdparser.add_dcmd_option(&_jmxremote_port); _dcmdparser.add_dcmd_option(&_jmxremote_rmi_port); _dcmdparser.add_dcmd_option(&_jmxremote_ssl); @@ -499,6 +504,7 @@ } PUT_OPTION(_config_file); + PUT_OPTION(_jmxremote_host); PUT_OPTION(_jmxremote_port); PUT_OPTION(_jmxremote_rmi_port); PUT_OPTION(_jmxremote_ssl);
--- a/src/share/vm/services/diagnosticCommand.hpp Wed Mar 23 22:50:27 2016 +0000 +++ b/src/share/vm/services/diagnosticCommand.hpp Fri Dec 18 08:55:47 2015 +0100 @@ -223,6 +223,7 @@ // com.sun.management is omitted DCmdArgument<char *> _config_file; + DCmdArgument<char *> _jmxremote_host; DCmdArgument<char *> _jmxremote_port; DCmdArgument<char *> _jmxremote_rmi_port; DCmdArgument<char *> _jmxremote_ssl;