equal
deleted
inserted
replaced
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 |