comparison src/share/vm/services/diagnosticCommand.cpp @ 23809:767f8c68255a

6425769: 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 78bbf4d43a14
children f13e777eb255
comparison
equal deleted inserted replaced
23808:2b2511bd3cc8 23809:767f8c68255a
435 435
436 _config_file 436 _config_file
437 ("config.file", 437 ("config.file",
438 "set com.sun.management.config.file", "STRING", false), 438 "set com.sun.management.config.file", "STRING", false),
439 439
440 _jmxremote_host
441 ("jmxremote.host",
442 "set com.sun.management.jmxremote.host", "STRING", false),
443
440 _jmxremote_port 444 _jmxremote_port
441 ("jmxremote.port", 445 ("jmxremote.port",
442 "set com.sun.management.jmxremote.port", "STRING", false), 446 "set com.sun.management.jmxremote.port", "STRING", false),
443 447
444 _jmxremote_rmi_port 448 _jmxremote_rmi_port
514 ("jdp.name", 518 ("jdp.name",
515 "set com.sun.management.jdp.name", "STRING", false) 519 "set com.sun.management.jdp.name", "STRING", false)
516 520
517 { 521 {
518 _dcmdparser.add_dcmd_option(&_config_file); 522 _dcmdparser.add_dcmd_option(&_config_file);
523 _dcmdparser.add_dcmd_option(&_jmxremote_host);
519 _dcmdparser.add_dcmd_option(&_jmxremote_port); 524 _dcmdparser.add_dcmd_option(&_jmxremote_port);
520 _dcmdparser.add_dcmd_option(&_jmxremote_rmi_port); 525 _dcmdparser.add_dcmd_option(&_jmxremote_rmi_port);
521 _dcmdparser.add_dcmd_option(&_jmxremote_ssl); 526 _dcmdparser.add_dcmd_option(&_jmxremote_ssl);
522 _dcmdparser.add_dcmd_option(&_jmxremote_registry_ssl); 527 _dcmdparser.add_dcmd_option(&_jmxremote_registry_ssl);
523 _dcmdparser.add_dcmd_option(&_jmxremote_authenticate); 528 _dcmdparser.add_dcmd_option(&_jmxremote_authenticate);
584 comma, (a).name(), (a).value()); \ 589 comma, (a).name(), (a).value()); \
585 comma[0] = ','; \ 590 comma[0] = ','; \
586 } 591 }
587 592
588 PUT_OPTION(_config_file); 593 PUT_OPTION(_config_file);
594 PUT_OPTION(_jmxremote_host);
589 PUT_OPTION(_jmxremote_port); 595 PUT_OPTION(_jmxremote_port);
590 PUT_OPTION(_jmxremote_rmi_port); 596 PUT_OPTION(_jmxremote_rmi_port);
591 PUT_OPTION(_jmxremote_ssl); 597 PUT_OPTION(_jmxremote_ssl);
592 PUT_OPTION(_jmxremote_registry_ssl); 598 PUT_OPTION(_jmxremote_registry_ssl);
593 PUT_OPTION(_jmxremote_authenticate); 599 PUT_OPTION(_jmxremote_authenticate);