We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6446792 commit c1a3f14Copy full SHA for c1a3f14
src/hotspot/share/services/nmtDCmd.cpp
@@ -77,7 +77,7 @@ void NMTDCmd::execute(DCmdSource source, TRAPS) {
77
return;
78
}
79
80
- const char* scale_value = _scale.value();
+ const char* scale_value = _scale.value() != nullptr ? _scale.value() : "(null)";
81
size_t scale_unit = get_scale(scale_value);
82
if (scale_unit == 0) {
83
output()->print_cr("Incorrect scale value: %s", scale_value);
0 commit comments