comparison src/share/vm/gc_implementation/g1/vmStructs_g1.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 65a8ff39a6da
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.
38 \ 38 \
39 nonstatic_field(G1CollectedHeap, _hrs, HeapRegionSeq) \ 39 nonstatic_field(G1CollectedHeap, _hrs, HeapRegionSeq) \
40 nonstatic_field(G1CollectedHeap, _g1_committed, MemRegion) \ 40 nonstatic_field(G1CollectedHeap, _g1_committed, MemRegion) \
41 nonstatic_field(G1CollectedHeap, _summary_bytes_used, size_t) \ 41 nonstatic_field(G1CollectedHeap, _summary_bytes_used, size_t) \
42 nonstatic_field(G1CollectedHeap, _g1mm, G1MonitoringSupport*) \ 42 nonstatic_field(G1CollectedHeap, _g1mm, G1MonitoringSupport*) \
43 nonstatic_field(G1CollectedHeap, _old_set, HeapRegionSetBase) \
44 nonstatic_field(G1CollectedHeap, _humongous_set, HeapRegionSetBase) \
43 \ 45 \
44 nonstatic_field(G1MonitoringSupport, _eden_committed, size_t) \ 46 nonstatic_field(G1MonitoringSupport, _eden_committed, size_t) \
45 nonstatic_field(G1MonitoringSupport, _eden_used, size_t) \ 47 nonstatic_field(G1MonitoringSupport, _eden_used, size_t) \
46 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \ 48 nonstatic_field(G1MonitoringSupport, _survivor_committed, size_t) \
47 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \ 49 nonstatic_field(G1MonitoringSupport, _survivor_used, size_t) \
48 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \ 50 nonstatic_field(G1MonitoringSupport, _old_committed, size_t) \
49 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \ 51 nonstatic_field(G1MonitoringSupport, _old_used, size_t) \
52 \
53 nonstatic_field(HeapRegionSetBase, _length, size_t) \
54 nonstatic_field(HeapRegionSetBase, _region_num, size_t) \
55 nonstatic_field(HeapRegionSetBase, _total_used_bytes, size_t) \
50 56
51 57
52 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \ 58 #define VM_TYPES_G1(declare_type, declare_toplevel_type) \
53 \ 59 \
54 declare_type(G1CollectedHeap, SharedHeap) \ 60 declare_type(G1CollectedHeap, SharedHeap) \
55 \ 61 \
56 declare_type(HeapRegion, ContiguousSpace) \ 62 declare_type(HeapRegion, ContiguousSpace) \
57 declare_toplevel_type(HeapRegionSeq) \ 63 declare_toplevel_type(HeapRegionSeq) \
64 declare_toplevel_type(HeapRegionSetBase) \
58 declare_toplevel_type(G1MonitoringSupport) \ 65 declare_toplevel_type(G1MonitoringSupport) \
59 \ 66 \
60 declare_toplevel_type(G1CollectedHeap*) \ 67 declare_toplevel_type(G1CollectedHeap*) \
61 declare_toplevel_type(HeapRegion*) \ 68 declare_toplevel_type(HeapRegion*) \
62 declare_toplevel_type(G1MonitoringSupport*) \ 69 declare_toplevel_type(G1MonitoringSupport*) \