10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_GC_G1_HEAPREGION_HPP
26 #define SHARE_GC_G1_HEAPREGION_HPP
27
28 #include "gc/g1/g1BlockOffsetTable.hpp"
29 #include "gc/g1/g1HeapRegionTraceType.hpp"
30 #include "gc/g1/heapRegionTracer.hpp"
31 #include "gc/g1/heapRegionType.hpp"
32 #include "gc/g1/survRateGroup.hpp"
33 #include "gc/shared/ageTable.hpp"
34 #include "gc/shared/spaceDecorator.hpp"
35 #include "gc/shared/verifyOption.hpp"
36 #include "runtime/mutex.hpp"
37 #include "utilities/macros.hpp"
38
39 class G1CollectedHeap;
40 class G1CMBitMap;
41 class G1Predictions;
42 class HeapRegionRemSet;
43 class HeapRegion;
44 class HeapRegionSetBase;
45 class nmethod;
46
47 #define HR_FORMAT "%u:(%s)[" PTR_FORMAT "," PTR_FORMAT "," PTR_FORMAT "]"
48 #define HR_FORMAT_PARAMS(_hr_) \
49 (_hr_)->hrm_index(), \
50 (_hr_)->get_short_type_str(), \
51 p2i((_hr_)->bottom()), p2i((_hr_)->top()), p2i((_hr_)->end())
52
|
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_GC_G1_HEAPREGION_HPP
26 #define SHARE_GC_G1_HEAPREGION_HPP
27
28 #include "gc/g1/g1BlockOffsetTable.hpp"
29 #include "gc/g1/g1HeapRegionTraceType.hpp"
30 #include "gc/g1/g1SurvRateGroup.hpp"
31 #include "gc/g1/heapRegionTracer.hpp"
32 #include "gc/g1/heapRegionType.hpp"
33 #include "gc/shared/ageTable.hpp"
34 #include "gc/shared/spaceDecorator.hpp"
35 #include "gc/shared/verifyOption.hpp"
36 #include "runtime/mutex.hpp"
37 #include "utilities/macros.hpp"
38
39 class G1CollectedHeap;
40 class G1CMBitMap;
41 class G1Predictions;
42 class HeapRegionRemSet;
43 class HeapRegion;
44 class HeapRegionSetBase;
45 class nmethod;
46
47 #define HR_FORMAT "%u:(%s)[" PTR_FORMAT "," PTR_FORMAT "," PTR_FORMAT "]"
48 #define HR_FORMAT_PARAMS(_hr_) \
49 (_hr_)->hrm_index(), \
50 (_hr_)->get_short_type_str(), \
51 p2i((_hr_)->bottom()), p2i((_hr_)->top()), p2i((_hr_)->end())
52
|