Mercurial > hg > truffle
diff src/share/vm/services/diagnosticCommand.cpp @ 12943:996d1f2f056f
8026930: In ManagementAgent.start it should be possible to set the jdp.name parameter (hotspot part)
Summary: Pass one more property from Agent to JdpController
Reviewed-by: jbachorik, sla
author | dsamersoff |
---|---|
date | Sat, 19 Oct 2013 21:29:57 +0400 |
parents | f2110083203d |
children | 82a9cdbf683e |
line wrap: on
line diff
--- a/src/share/vm/services/diagnosticCommand.cpp Fri Oct 18 19:44:40 2013 -0700 +++ b/src/share/vm/services/diagnosticCommand.cpp Sat Oct 19 21:29:57 2013 +0400 @@ -505,7 +505,11 @@ _jdp_pause ("jdp.pause", - "set com.sun.management.jdp.pause", "INT", false) + "set com.sun.management.jdp.pause", "INT", false), + + _jdp_name + ("jdp.name", + "set com.sun.management.jdp.name", "STRING", false) { _dcmdparser.add_dcmd_option(&_config_file); @@ -527,6 +531,7 @@ _dcmdparser.add_dcmd_option(&_jdp_source_addr); _dcmdparser.add_dcmd_option(&_jdp_ttl); _dcmdparser.add_dcmd_option(&_jdp_pause); + _dcmdparser.add_dcmd_option(&_jdp_name); } @@ -596,6 +601,7 @@ PUT_OPTION(_jdp_source_addr); PUT_OPTION(_jdp_ttl); PUT_OPTION(_jdp_pause); + PUT_OPTION(_jdp_name); #undef PUT_OPTION