src/share/vm/services/diagnosticCommand.hpp
Print this page
rev 3388 : imported patch dcmd-fixes
*** 46,56 ****
static const char* description() {
return "For more information about a specific command use 'help <command>'. "
"With no argument this will show a list of available commands. "
"'help all' will show help for all commands.";
}
! static const char* impact() { return "Low: "; }
static int num_arguments();
virtual void execute(TRAPS);
};
class VersionDCmd : public DCmd {
--- 46,56 ----
static const char* description() {
return "For more information about a specific command use 'help <command>'. "
"With no argument this will show a list of available commands. "
"'help all' will show help for all commands.";
}
! static const char* impact() { return "Low"; }
static int num_arguments();
virtual void execute(TRAPS);
};
class VersionDCmd : public DCmd {
*** 58,68 ****
VersionDCmd(outputStream* output, bool heap) : DCmd(output,heap) { }
static const char* name() { return "VM.version"; }
static const char* description() {
return "Print JVM version information.";
}
! static const char* impact() { return "Low: "; }
static int num_arguments() { return 0; }
virtual void execute(TRAPS);
};
class CommandLineDCmd : public DCmd {
--- 58,68 ----
VersionDCmd(outputStream* output, bool heap) : DCmd(output,heap) { }
static const char* name() { return "VM.version"; }
static const char* description() {
return "Print JVM version information.";
}
! static const char* impact() { return "Low"; }
static int num_arguments() { return 0; }
virtual void execute(TRAPS);
};
class CommandLineDCmd : public DCmd {
*** 70,80 ****
CommandLineDCmd(outputStream* output, bool heap) : DCmd(output, heap) { }
static const char* name() { return "VM.command_line"; }
static const char* description() {
return "Print the command line used to start this VM instance.";
}
! static const char* impact() { return "Low: "; }
static int num_arguments() { return 0; }
virtual void execute(TRAPS) {
Arguments::print_on(_output);
}
};
--- 70,80 ----
CommandLineDCmd(outputStream* output, bool heap) : DCmd(output, heap) { }
static const char* name() { return "VM.command_line"; }
static const char* description() {
return "Print the command line used to start this VM instance.";
}
! static const char* impact() { return "Low"; }
static int num_arguments() { return 0; }
virtual void execute(TRAPS) {
Arguments::print_on(_output);
}
};
*** 86,96 ****
static const char* name() { return "VM.system_properties"; }
static const char* description() {
return "Print system properties.";
}
static const char* impact() {
! return "Low: ";
}
static int num_arguments() { return 0; }
virtual void execute(TRAPS);
};
--- 86,96 ----
static const char* name() { return "VM.system_properties"; }
static const char* description() {
return "Print system properties.";
}
static const char* impact() {
! return "Low";
}
static int num_arguments() { return 0; }
virtual void execute(TRAPS);
};
*** 103,113 ****
static const char* name() { return "VM.flags"; }
static const char* description() {
return "Print VM flag options and their current values.";
}
static const char* impact() {
! return "Low: ";
}
static int num_arguments();
virtual void execute(TRAPS);
};
--- 103,113 ----
static const char* name() { return "VM.flags"; }
static const char* description() {
return "Print VM flag options and their current values.";
}
static const char* impact() {
! return "Low";
}
static int num_arguments();
virtual void execute(TRAPS);
};
*** 119,129 ****
static const char* name() { return "VM.uptime"; }
static const char* description() {
return "Print VM uptime.";
}
static const char* impact() {
! return "Low: ";
}
static int num_arguments();
virtual void execute(TRAPS);
};
--- 119,129 ----
static const char* name() { return "VM.uptime"; }
static const char* description() {
return "Print VM uptime.";
}
static const char* impact() {
! return "Low";
}
static int num_arguments();
virtual void execute(TRAPS);
};