hotspot/src/share/vm/gc/cms/concurrentMarkSweepGeneration.cpp
changeset 33589 7cbd1b2c139b
parent 33230 23bb11a5cf4e
child 33590 338b512e9b40
equal deleted inserted replaced
33580:c2d95df2c54e 33589:7cbd1b2c139b
  1793     gch->increment_total_full_collections();  // ... starting a collection cycle
  1793     gch->increment_total_full_collections();  // ... starting a collection cycle
  1794     _collection_count_start = gch->total_full_collections();
  1794     _collection_count_start = gch->total_full_collections();
  1795   }
  1795   }
  1796 
  1796 
  1797   // Used for PrintGC
  1797   // Used for PrintGC
  1798   size_t prev_used;
  1798   size_t prev_used = 0;
  1799   if (PrintGC && Verbose) {
  1799   if (PrintGC && Verbose) {
  1800     prev_used = _cmsGen->used();
  1800     prev_used = _cmsGen->used();
  1801   }
  1801   }
  1802 
  1802 
  1803   // The change of the collection state is normally done at this level;
  1803   // The change of the collection state is normally done at this level;
  7737     gclog_or_tty->print_cr("  -- pick up another chunk at " PTR_FORMAT " (" SIZE_FORMAT ")", p2i(fc), chunkSize);
  7737     gclog_or_tty->print_cr("  -- pick up another chunk at " PTR_FORMAT " (" SIZE_FORMAT ")", p2i(fc), chunkSize);
  7738   }
  7738   }
  7739 
  7739 
  7740   HeapWord* const fc_addr = (HeapWord*) fc;
  7740   HeapWord* const fc_addr = (HeapWord*) fc;
  7741 
  7741 
  7742   bool coalesce;
  7742   bool coalesce = false;
  7743   const size_t left  = pointer_delta(fc_addr, freeFinger());
  7743   const size_t left  = pointer_delta(fc_addr, freeFinger());
  7744   const size_t right = chunkSize;
  7744   const size_t right = chunkSize;
  7745   switch (FLSCoalescePolicy) {
  7745   switch (FLSCoalescePolicy) {
  7746     // numeric value forms a coalition aggressiveness metric
  7746     // numeric value forms a coalition aggressiveness metric
  7747     case 0:  { // never coalesce
  7747     case 0:  { // never coalesce