--- a/hotspot/src/share/vm/gc/g1/heapRegionRemSet.cpp Wed Aug 02 15:59:33 2017 +0000
+++ b/hotspot/src/share/vm/gc/g1/heapRegionRemSet.cpp Sat Jul 22 15:54:27 2017 -0400
@@ -71,7 +71,7 @@
PerRegionTable(HeapRegion* hr) :
_hr(hr),
_occupied(0),
- _bm(HeapRegion::CardsPerRegion),
+ _bm(HeapRegion::CardsPerRegion, mtGC),
_collision_list_next(NULL), _next(NULL), _prev(NULL)
{}
@@ -261,7 +261,7 @@
OtherRegionsTable::OtherRegionsTable(HeapRegion* hr, Mutex* m) :
_g1h(G1CollectedHeap::heap()),
_hr(hr), _m(m),
- _coarse_map(G1CollectedHeap::heap()->max_regions()),
+ _coarse_map(G1CollectedHeap::heap()->max_regions(), mtGC),
_fine_grain_regions(NULL),
_first_all_fine_prts(NULL), _last_all_fine_prts(NULL),
_n_fine_entries(0), _n_coarse_entries(0),