src/hotspot/share/gc/shared/gcName.hpp
branchepsilon-gc-branch
changeset 55934 912c55e702d6
parent 47885 5caa1d5f74c1
child 50525 767cdb97f103
equal deleted inserted replaced
55802:b2b4df384c83 55934:912c55e702d6
     1 /*
     1 /*
     2  * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    35   DefNew,
    35   DefNew,
    36   ParNew,
    36   ParNew,
    37   G1New,
    37   G1New,
    38   ConcurrentMarkSweep,
    38   ConcurrentMarkSweep,
    39   G1Old,
    39   G1Old,
       
    40   G1Full,
    40   GCNameEndSentinel
    41   GCNameEndSentinel
    41 };
    42 };
    42 
    43 
    43 class GCNameHelper {
    44 class GCNameHelper {
    44  public:
    45  public:
    51       case DefNew: return "DefNew";
    52       case DefNew: return "DefNew";
    52       case ParNew: return "ParNew";
    53       case ParNew: return "ParNew";
    53       case G1New: return "G1New";
    54       case G1New: return "G1New";
    54       case ConcurrentMarkSweep: return "ConcurrentMarkSweep";
    55       case ConcurrentMarkSweep: return "ConcurrentMarkSweep";
    55       case G1Old: return "G1Old";
    56       case G1Old: return "G1Old";
       
    57       case G1Full: return "G1Full";
    56       default: ShouldNotReachHere(); return NULL;
    58       default: ShouldNotReachHere(); return NULL;
    57     }
    59     }
    58   }
    60   }
    59 };
    61 };
    60 
    62