hotspot/src/share/vm/gc_implementation/g1/concurrentMark.cpp
changeset 24106 dae9277bdf2a
parent 24094 5dbf1f44de18
child 24244 2c7a1e5649bd
equal deleted inserted replaced
24105:93ea1c7cae36 24106:dae9277bdf2a
  2653       str = "";
  2653       str = "";
  2654     } else if (!_g1h->is_in_g1_reserved(obj)) {
  2654     } else if (!_g1h->is_in_g1_reserved(obj)) {
  2655       str = " O";
  2655       str = " O";
  2656     } else {
  2656     } else {
  2657       HeapRegion* hr  = _g1h->heap_region_containing(obj);
  2657       HeapRegion* hr  = _g1h->heap_region_containing(obj);
  2658       guarantee(hr != NULL, "invariant");
       
  2659       bool over_tams = _g1h->allocated_since_marking(obj, hr, _vo);
  2658       bool over_tams = _g1h->allocated_since_marking(obj, hr, _vo);
  2660       bool marked = _g1h->is_marked(obj, _vo);
  2659       bool marked = _g1h->is_marked(obj, _vo);
  2661 
  2660 
  2662       if (over_tams) {
  2661       if (over_tams) {
  2663         str = " >";
  2662         str = " >";
  3411     assert(_ref_processor != NULL, "should not be NULL");
  3410     assert(_ref_processor != NULL, "should not be NULL");
  3412   }
  3411   }
  3413 }
  3412 }
  3414 
  3413 
  3415 void CMTask::setup_for_region(HeapRegion* hr) {
  3414 void CMTask::setup_for_region(HeapRegion* hr) {
  3416   // Separated the asserts so that we know which one fires.
       
  3417   assert(hr != NULL,
  3415   assert(hr != NULL,
  3418         "claim_region() should have filtered out continues humongous regions");
  3416         "claim_region() should have filtered out NULL regions");
  3419   assert(!hr->continuesHumongous(),
  3417   assert(!hr->continuesHumongous(),
  3420         "claim_region() should have filtered out continues humongous regions");
  3418         "claim_region() should have filtered out continues humongous regions");
  3421 
  3419 
  3422   if (_cm->verbose_low()) {
  3420   if (_cm->verbose_low()) {
  3423     gclog_or_tty->print_cr("[%u] setting up for region "PTR_FORMAT,
  3421     gclog_or_tty->print_cr("[%u] setting up for region "PTR_FORMAT,