hotspot/src/share/vm/services/memTrackWorker.hpp
changeset 15452 3bfde2dea09d
parent 15104 f5d78994619f
child 16991 aa4978a77e1f
equal deleted inserted replaced
15443:aa26996d55d6 15452:3bfde2dea09d
   105 
   105 
   106   NOT_PRODUCT(int _sync_point_count;)
   106   NOT_PRODUCT(int _sync_point_count;)
   107   NOT_PRODUCT(int _merge_count;)
   107   NOT_PRODUCT(int _merge_count;)
   108   NOT_PRODUCT(int _last_gen_in_use;)
   108   NOT_PRODUCT(int _last_gen_in_use;)
   109 
   109 
       
   110   // how many generations are queued
   110   inline int generations_in_use() const {
   111   inline int generations_in_use() const {
   111     return (_tail >= _head ? (_tail - _head + 1) : (MAX_GENERATIONS - (_head - _tail) + 1));
   112     return (_tail >= _head ? (_tail - _head + 1) : (MAX_GENERATIONS - (_head - _tail) + 1));
   112   }
   113   }
   113 };
   114 };
   114 
   115