8148960: Humongous mis-spelled in log output
authorbrutisso
Wed, 03 Feb 2016 18:18:00 +0100
changeset 35929 2783e5e132e3
parent 35924 1d736ef364be
child 35930 722866f5e209
8148960: Humongous mis-spelled in log output Reviewed-by: huntch, jwilhelm
hotspot/src/share/vm/gc/g1/g1RemSetSummary.cpp
hotspot/test/gc/g1/TestRemsetLoggingTools.java
--- a/hotspot/src/share/vm/gc/g1/g1RemSetSummary.cpp	Thu Feb 04 00:53:31 2016 +0100
+++ b/hotspot/src/share/vm/gc/g1/g1RemSetSummary.cpp	Wed Feb 03 18:18:00 2016 +0100
@@ -221,7 +221,7 @@
 class HRRSStatsIter: public HeapRegionClosure {
 private:
   RegionTypeCounter _young;
-  RegionTypeCounter _humonguous;
+  RegionTypeCounter _humongous;
   RegionTypeCounter _free;
   RegionTypeCounter _old;
   RegionTypeCounter _all;
@@ -245,7 +245,7 @@
   HeapRegion* max_code_root_mem_sz_region() const { return _max_code_root_mem_sz_region; }
 
 public:
-  HRRSStatsIter() : _all("All"), _young("Young"), _humonguous("Humonguous"),
+  HRRSStatsIter() : _all("All"), _young("Young"), _humongous("Humongous"),
     _free("Free"), _old("Old"), _max_code_root_mem_sz_region(NULL), _max_rs_mem_sz_region(NULL),
     _max_rs_mem_sz(0), _max_code_root_mem_sz(0)
   {}
@@ -274,7 +274,7 @@
     } else if (r->is_young()) {
       current = &_young;
     } else if (r->is_humongous()) {
-      current = &_humonguous;
+      current = &_humongous;
     } else if (r->is_old()) {
       current = &_old;
     } else {
@@ -287,7 +287,7 @@
   }
 
   void print_summary_on(outputStream* out) {
-    RegionTypeCounter* counters[] = { &_young, &_humonguous, &_free, &_old, NULL };
+    RegionTypeCounter* counters[] = { &_young, &_humongous, &_free, &_old, NULL };
 
     out->print_cr(" Current rem set statistics");
     out->print_cr("  Total per region rem sets sizes = " SIZE_FORMAT "K."
--- a/hotspot/test/gc/g1/TestRemsetLoggingTools.java	Thu Feb 04 00:53:31 2016 +0100
+++ b/hotspot/test/gc/g1/TestRemsetLoggingTools.java	Wed Feb 03 18:18:00 2016 +0100
@@ -96,7 +96,7 @@
     public static void expectPerRegionRSetSummaries(String result, int expectedCumulative, int expectedPeriodic) throws Exception {
         expectRSetSummaries(result, expectedCumulative, expectedPeriodic);
         int actualYoung = result.split("Young regions").length - 1;
-        int actualHumonguous = result.split("Humonguous regions").length - 1;
+        int actualHumongous = result.split("Humongous regions").length - 1;
         int actualFree = result.split("Free regions").length - 1;
         int actualOther = result.split("Old regions").length - 1;
 
@@ -104,7 +104,7 @@
         int expectedPerRegionTypeInfo = (expectedCumulative + expectedPeriodic) * 4;
 
         checkCounts(expectedPerRegionTypeInfo, actualYoung, "Young");
-        checkCounts(expectedPerRegionTypeInfo, actualHumonguous, "Humonguous");
+        checkCounts(expectedPerRegionTypeInfo, actualHumongous, "Humongous");
         checkCounts(expectedPerRegionTypeInfo, actualFree, "Free");
         checkCounts(expectedPerRegionTypeInfo, actualOther, "Old");
     }