changeset 15452 | 3bfde2dea09d |
parent 15104 | f5d78994619f |
child 16991 | aa4978a77e1f |
--- a/hotspot/src/share/vm/services/memTrackWorker.hpp Fri Feb 01 13:30:12 2013 -0500 +++ b/hotspot/src/share/vm/services/memTrackWorker.hpp Fri Feb 01 23:48:08 2013 +0100 @@ -107,6 +107,7 @@ NOT_PRODUCT(int _merge_count;) NOT_PRODUCT(int _last_gen_in_use;) + // how many generations are queued inline int generations_in_use() const { return (_tail >= _head ? (_tail - _head + 1) : (MAX_GENERATIONS - (_head - _tail) + 1)); }