stathist: Fix issue which caused RSS details not to be shown even if available. stuefe-statistical-history
authorstuefe
Wed, 06 Mar 2019 20:32:03 +0100
branchstuefe-statistical-history
changeset 57246 75f6a833a444
parent 57245 0ed37e453a39
child 57335 e90b4960bcd6
stathist: Fix issue which caused RSS details not to be shown even if available.
src/hotspot/os/linux/stathist_linux.cpp
--- 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) {