comparison src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp @ 1611:215576b54709

6946048: G1: improvements to +PrintGCDetails output Summary: Small improvements to G1's PrintGCDetails output. It also includes minor formatting details. Reviewed-by: ysr, johnc
author tonyp
date Thu, 22 Apr 2010 15:20:16 -0400
parents c18cbe5936b8
children 4e5661ba9d98
comparison
equal deleted inserted replaced
1610:79107c3a6bd5 1611:215576b54709
1547 G1ParScanPartialArrayClosure* _partial_scan_cl; 1547 G1ParScanPartialArrayClosure* _partial_scan_cl;
1548 1548
1549 int _hash_seed; 1549 int _hash_seed;
1550 int _queue_num; 1550 int _queue_num;
1551 1551
1552 int _term_attempts; 1552 size_t _term_attempts;
1553 #if G1_DETAILED_STATS 1553 #if G1_DETAILED_STATS
1554 int _pushes, _pops, _steals, _steal_attempts; 1554 int _pushes, _pops, _steals, _steal_attempts;
1555 int _overflow_pushes; 1555 int _overflow_pushes;
1556 #endif 1556 #endif
1557 1557
1725 } 1725 }
1726 1726
1727 int* hash_seed() { return &_hash_seed; } 1727 int* hash_seed() { return &_hash_seed; }
1728 int queue_num() { return _queue_num; } 1728 int queue_num() { return _queue_num; }
1729 1729
1730 int term_attempts() { return _term_attempts; } 1730 size_t term_attempts() { return _term_attempts; }
1731 void note_term_attempt() { _term_attempts++; } 1731 void note_term_attempt() { _term_attempts++; }
1732 1732
1733 #if G1_DETAILED_STATS 1733 #if G1_DETAILED_STATS
1734 int pushes() { return _pushes; } 1734 int pushes() { return _pushes; }
1735 int pops() { return _pops; } 1735 int pops() { return _pops; }
1736 int steals() { return _steals; } 1736 int steals() { return _steals; }