< prev index next >

src/share/vm/gc/g1/g1HRPrinter.cpp

Print this page




  34     case Retire:         return "RETIRE";
  35     case Reuse:          return "REUSE";
  36     case CSet:           return "CSET";
  37     case EvacFailure:    return "EVAC-FAILURE";
  38     case Cleanup:        return "CLEANUP";
  39     case PostCompaction: return "POST-COMPACTION";
  40     case Commit:         return "COMMIT";
  41     case Uncommit:       return "UNCOMMIT";
  42     default:             ShouldNotReachHere();
  43   }
  44   // trying to keep the Windows compiler happy
  45   return NULL;
  46 }
  47 
  48 const char* G1HRPrinter::region_type_name(RegionType type) {
  49   switch (type) {
  50     case Unset:              return NULL;
  51     case Eden:               return "Eden";
  52     case Survivor:           return "Survivor";
  53     case Old:                return "Old";
  54     case SingleHumongous:    return "SingleH";
  55     case StartsHumongous:    return "StartsH";
  56     case ContinuesHumongous: return "ContinuesH";
  57     case Archive:            return "Archive";
  58     default:                 ShouldNotReachHere();
  59   }
  60   // trying to keep the Windows compiler happy
  61   return NULL;
  62 }
  63 
  64 const char* G1HRPrinter::phase_name(PhaseType phase) {
  65   switch (phase) {
  66     case StartGC:     return "StartGC";
  67     case EndGC:       return "EndGC";
  68     case StartFullGC: return "StartFullGC";
  69     case EndFullGC:   return "EndFullGC";
  70     default:          ShouldNotReachHere();
  71   }
  72   // trying to keep the Windows compiler happy
  73   return NULL;
  74 }




  34     case Retire:         return "RETIRE";
  35     case Reuse:          return "REUSE";
  36     case CSet:           return "CSET";
  37     case EvacFailure:    return "EVAC-FAILURE";
  38     case Cleanup:        return "CLEANUP";
  39     case PostCompaction: return "POST-COMPACTION";
  40     case Commit:         return "COMMIT";
  41     case Uncommit:       return "UNCOMMIT";
  42     default:             ShouldNotReachHere();
  43   }
  44   // trying to keep the Windows compiler happy
  45   return NULL;
  46 }
  47 
  48 const char* G1HRPrinter::region_type_name(RegionType type) {
  49   switch (type) {
  50     case Unset:              return NULL;
  51     case Eden:               return "Eden";
  52     case Survivor:           return "Survivor";
  53     case Old:                return "Old";

  54     case StartsHumongous:    return "StartsH";
  55     case ContinuesHumongous: return "ContinuesH";
  56     case Archive:            return "Archive";
  57     default:                 ShouldNotReachHere();
  58   }
  59   // trying to keep the Windows compiler happy
  60   return NULL;
  61 }
  62 
  63 const char* G1HRPrinter::phase_name(PhaseType phase) {
  64   switch (phase) {
  65     case StartGC:     return "StartGC";
  66     case EndGC:       return "EndGC";
  67     case StartFullGC: return "StartFullGC";
  68     case EndFullGC:   return "EndFullGC";
  69     default:          ShouldNotReachHere();
  70   }
  71   // trying to keep the Windows compiler happy
  72   return NULL;
  73 }


< prev index next >