2286 gch->increment_total_full_collections(); // ... starting a collection cycle |
2286 gch->increment_total_full_collections(); // ... starting a collection cycle |
2287 _collection_count_start = gch->total_full_collections(); |
2287 _collection_count_start = gch->total_full_collections(); |
2288 } |
2288 } |
2289 |
2289 |
2290 // Used for PrintGC |
2290 // Used for PrintGC |
2291 size_t prev_used; |
2291 size_t prev_used = 0; |
2292 if (PrintGC && Verbose) { |
2292 if (PrintGC && Verbose) { |
2293 prev_used = _cmsGen->used(); // XXXPERM |
2293 prev_used = _cmsGen->used(); // XXXPERM |
2294 } |
2294 } |
2295 |
2295 |
2296 // The change of the collection state is normally done at this level; |
2296 // The change of the collection state is normally done at this level; |
8622 gclog_or_tty->print_cr(" -- pick up another chunk at 0x%x (%d)", fc, chunkSize); |
8622 gclog_or_tty->print_cr(" -- pick up another chunk at 0x%x (%d)", fc, chunkSize); |
8623 } |
8623 } |
8624 |
8624 |
8625 HeapWord* const fc_addr = (HeapWord*) fc; |
8625 HeapWord* const fc_addr = (HeapWord*) fc; |
8626 |
8626 |
8627 bool coalesce; |
8627 bool coalesce = false; |
8628 const size_t left = pointer_delta(fc_addr, freeFinger()); |
8628 const size_t left = pointer_delta(fc_addr, freeFinger()); |
8629 const size_t right = chunkSize; |
8629 const size_t right = chunkSize; |
8630 switch (FLSCoalescePolicy) { |
8630 switch (FLSCoalescePolicy) { |
8631 // numeric value forms a coalition aggressiveness metric |
8631 // numeric value forms a coalition aggressiveness metric |
8632 case 0: { // never coalesce |
8632 case 0: { // never coalesce |