--- a/hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp Tue May 03 12:33:10 2016 +0200
+++ b/hotspot/src/share/vm/gc/g1/g1ConcurrentMark.cpp Wed May 04 10:06:00 2016 +0200
@@ -110,8 +110,7 @@
_bmStartWord = heap.start();
_bmWordSize = heap.word_size();
- _bm.set_map((BitMap::bm_word_t*) storage->reserved().start());
- _bm.set_size(_bmWordSize >> _shifter);
+ _bm = BitMapView((BitMap::bm_word_t*) storage->reserved().start(), _bmWordSize >> _shifter);
storage->set_mapping_changed_listener(&_listener);
}