hotspot/src/share/vm/gc_implementation/g1/g1ErgoVerbose.cpp
changeset 11249 b0c1cc35cafe
parent 10523 cdb54c167ab0
equal deleted inserted replaced
11248:5ff61b0fdf3d 11249:b0c1cc35cafe
    50 }
    50 }
    51 
    51 
    52 const char* G1ErgoVerbose::to_string(int tag) {
    52 const char* G1ErgoVerbose::to_string(int tag) {
    53   ErgoHeuristic n = extract_heuristic(tag);
    53   ErgoHeuristic n = extract_heuristic(tag);
    54   switch (n) {
    54   switch (n) {
    55   case ErgoHeapSizing:            return "Heap Sizing";
    55   case ErgoHeapSizing:        return "Heap Sizing";
    56   case ErgoCSetConstruction:      return "CSet Construction";
    56   case ErgoCSetConstruction:  return "CSet Construction";
    57   case ErgoConcCycles:            return "Concurrent Cycles";
    57   case ErgoConcCycles:        return "Concurrent Cycles";
    58   case ErgoPartiallyYoungGCs:     return "Partially-Young GCs";
    58   case ErgoMixedGCs:          return "Mixed GCs";
    59   default:
    59   default:
    60     ShouldNotReachHere();
    60     ShouldNotReachHere();
    61     // Keep the Windows compiler happy
    61     // Keep the Windows compiler happy
    62     return NULL;
    62     return NULL;
    63   }
    63   }
    64 }
    64 }
    65