stathist: Fix issue which caused RSS details not to be shown even if available.
--- a/src/hotspot/os/linux/stathist_linux.cpp Wed Mar 06 15:43:13 2019 +0100
+++ b/src/hotspot/os/linux/stathist_linux.cpp Wed Mar 06 20:32:03 2019 +0100
@@ -263,7 +263,7 @@
{
ProcFile bf;
if (bf.read("/proc/self/status")) {
- have_rss_detail_info = bf.parsed_prefixed_value("RssAnon", 1) != INVALID_VALUE;
+ have_rss_detail_info = bf.parsed_prefixed_value("RssAnon:", 1) != INVALID_VALUE;
}
}
if (have_rss_detail_info) {