comparison src/share/vm/gc_implementation/g1/heapRegionSet.hpp @ 4830:0b3d1ec6eaee

7097586: G1: improve the per-space output when using jmap -heap Summary: Extend the jmap -heap output for G1 to include some more G1-specific information. Reviewed-by: brutisso, johnc, poonam
author tonyp
date Wed, 18 Jan 2012 10:30:12 -0500
parents 8aae2050e83e
children 720b6a76dd9d
comparison
equal deleted inserted replaced
4829:9509c20bba28 4830:0b3d1ec6eaee
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;