Skip to content

Commit

Permalink
add macOS to liast of supposredt platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
stooke committed Oct 17, 2024
1 parent 47a01b1 commit 6426da7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/hotspot/share/services/diagnosticCommand.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ class SystemMapDCmd : public DCmd {
SystemMapDCmd(outputStream* output, bool heap);
static const char* name() { return "System.map"; }
static const char* description() {
return "Prints an annotated process memory map of the VM process (linux and Windows only).";
return "Prints an annotated process memory map of the VM process (linux, Windows and MacOS only).";
}
static const char* impact() { return "Medium; can be high for very large java heaps."; }
static const JavaPermission permission() {
Expand All @@ -1006,7 +1006,7 @@ class SystemDumpMapDCmd : public DCmdWithParser {
SystemDumpMapDCmd(outputStream* output, bool heap);
static const char* name() { return "System.dump_map"; }
static const char* description() {
return "Dumps an annotated process memory map to an output file (linux and Windows only).";
return "Dumps an annotated process memory map to an output file (linux, Windows and MacOS only).";
}
static const char* impact() { return "Medium; can be high for very large java heaps."; }
static const JavaPermission permission() {
Expand All @@ -1017,6 +1017,6 @@ class SystemDumpMapDCmd : public DCmdWithParser {
virtual void execute(DCmdSource source, TRAPS);
};

#endif // LINUX or WINDOWS
#endif // LINUX, WINDOWS or MACOS

#endif // SHARE_SERVICES_DIAGNOSTICCOMMAND_HPP

0 comments on commit 6426da7

Please sign in to comment.