--- a/hotspot/src/share/vm/services/diagnosticCommand.cpp Thu Oct 24 09:10:27 2013 -0700
+++ b/hotspot/src/share/vm/services/diagnosticCommand.cpp Fri Oct 25 13:29:17 2013 -0700
@@ -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