comparison src/hotspot/share/gc/shared/gcName.hpp @ 48073:5caa1d5f74c1

8186571: Implementation: JEP 307: Parallel Full GC for G1 Summary: Improve G1 worst-case latencies by making the full GC parallel. Reviewed-by: tschatzl, sangheki, ehelin
author sjohanss
date Tue, 14 Nov 2017 11:33:23 +0100
parents 71c04702a3d5
children 767cdb97f103
comparison
equal deleted inserted replaced
0:bedcf8e86543 1:bdc9702933a1
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