comparison src/share/vm/services/memTrackWorker.hpp @ 7971:4102b59539ce

8005012: Add WB APIs to better support NMT testing Summary: Add WB API functions to enable better NMT testing Reviewed-by: dholmes, zgu
author ctornqvi
date Fri, 01 Feb 2013 23:48:08 +0100
parents ecd24264898b
children 35f8765422b9
comparison
equal deleted inserted replaced
7962:4c75576d18d0 7971:4102b59539ce
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