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_HEAPREGIONREMSET_HPP
26 #define SHARE_GC_G1_HEAPREGIONREMSET_HPP
27
28 #include "gc/g1/g1CodeCacheRemSet.hpp"
29 #include "gc/g1/g1FromCardCache.hpp"
30 #include "gc/g1/sparsePRT.hpp"
31 #include "utilities/bitMap.hpp"
32
33 // Remembered set for a heap region. Represent a set of "cards" that
34 // contain pointers into the owner heap region. Cards are defined somewhat
35 // abstractly, in terms of what the "BlockOffsetTable" in use can parse.
36
37 class G1CollectedHeap;
38 class G1BlockOffsetTable;
39 class G1CardLiveData;
40 class HeapRegion;
41 class PerRegionTable;
42 class SparsePRT;
43 class nmethod;
44
45 // The "_coarse_map" is a bitmap with one bit for each region, where set
46 // bits indicate that the corresponding region may contain some pointer
47 // into the owning region.
48
49 // The "_fine_grain_entries" array is an open hash table of PerRegionTables
50 // (PRTs), indicating regions for which we're keeping the RS as a set of
|
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_HEAPREGIONREMSET_HPP
26 #define SHARE_GC_G1_HEAPREGIONREMSET_HPP
27
28 #include "gc/g1/g1CodeCacheRemSet.hpp"
29 #include "gc/g1/g1FromCardCache.hpp"
30 #include "gc/g1/sparsePRT.hpp"
31 #include "runtime/atomic.hpp"
32 #include "utilities/bitMap.hpp"
33
34 // Remembered set for a heap region. Represent a set of "cards" that
35 // contain pointers into the owner heap region. Cards are defined somewhat
36 // abstractly, in terms of what the "BlockOffsetTable" in use can parse.
37
38 class G1CollectedHeap;
39 class G1BlockOffsetTable;
40 class G1CardLiveData;
41 class HeapRegion;
42 class PerRegionTable;
43 class SparsePRT;
44 class nmethod;
45
46 // The "_coarse_map" is a bitmap with one bit for each region, where set
47 // bits indicate that the corresponding region may contain some pointer
48 // into the owning region.
49
50 // The "_fine_grain_entries" array is an open hash table of PerRegionTables
51 // (PRTs), indicating regions for which we're keeping the RS as a set of
|