equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2016, 2019, 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. |
33 /* |
33 /* |
34 * Enum values must match CollectedHeap::Name |
34 * Enum values must match CollectedHeap::Name |
35 */ |
35 */ |
36 Serial(1), |
36 Serial(1), |
37 Parallel(2), |
37 Parallel(2), |
38 ConcMarkSweep(3), |
38 G1(3), |
39 G1(4), |
39 Epsilon(4), |
40 Epsilon(5), |
40 Z(5), |
41 Z(6), |
41 Shenandoah(6); |
42 Shenandoah(7); |
|
43 |
42 |
44 private static final WhiteBox WB = WhiteBox.getWhiteBox(); |
43 private static final WhiteBox WB = WhiteBox.getWhiteBox(); |
45 |
44 |
46 private final int name; |
45 private final int name; |
47 |
46 |