1 /* |
1 /* |
2 * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2011, 2012, 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. |
57 class HRSPhaseSetter; |
57 class HRSPhaseSetter; |
58 |
58 |
59 class HeapRegionSetBase VALUE_OBJ_CLASS_SPEC { |
59 class HeapRegionSetBase VALUE_OBJ_CLASS_SPEC { |
60 friend class hrs_ext_msg; |
60 friend class hrs_ext_msg; |
61 friend class HRSPhaseSetter; |
61 friend class HRSPhaseSetter; |
|
62 friend class VMStructs; |
62 |
63 |
63 protected: |
64 protected: |
64 static size_t calculate_region_num(HeapRegion* hr); |
65 static size_t calculate_region_num(HeapRegion* hr); |
65 |
66 |
66 static size_t _unrealistically_long_length; |
67 static size_t _unrealistically_long_length; |