158 (_arg3_), (_arg4_), (_arg5_)); \ |
158 (_arg3_), (_arg4_), (_arg5_)); \ |
159 } \ |
159 } \ |
160 } while (0) |
160 } while (0) |
161 |
161 |
162 |
162 |
163 #define ergo_verbose(_tag_, _action_) \ |
|
164 ergo_verbose_common(_tag_, _action_, "", 0, 0, 0, 0, 0, 0) |
|
165 |
|
166 #define ergo_verbose0(_tag_, _action_, _extra_format_) \ |
|
167 ergo_verbose_common(_tag_, _action_, _extra_format_, 0, 0, 0, 0, 0, 0) |
|
168 |
|
169 #define ergo_verbose1(_tag_, _action_, _extra_format_, \ |
|
170 _arg0_) \ |
|
171 ergo_verbose_common(_tag_, _action_, _extra_format_, \ |
|
172 _arg0_, 0, 0, 0, 0, 0) |
|
173 |
|
174 #define ergo_verbose2(_tag_, _action_, _extra_format_, \ |
|
175 _arg0_, _arg1_) \ |
|
176 ergo_verbose_common(_tag_, _action_, _extra_format_, \ |
|
177 _arg0_, _arg1_, 0, 0, 0, 0) |
|
178 |
|
179 #define ergo_verbose3(_tag_, _action_, _extra_format_, \ |
|
180 _arg0_, _arg1_, _arg2_) \ |
|
181 ergo_verbose_common(_tag_, _action_, _extra_format_, \ |
|
182 _arg0_, _arg1_, _arg2_, 0, 0, 0) |
|
183 |
|
184 #define ergo_verbose4(_tag_, _action_, _extra_format_, \ |
|
185 _arg0_, _arg1_, _arg2_, _arg3_) \ |
|
186 ergo_verbose_common(_tag_, _action_, _extra_format_, \ |
|
187 _arg0_, _arg1_, _arg2_, _arg3_, 0, 0) |
|
188 |
|
189 #define ergo_verbose5(_tag_, _action_, _extra_format_, \ |
|
190 _arg0_, _arg1_, _arg2_, _arg3_, _arg4_) \ |
|
191 ergo_verbose_common(_tag_, _action_, _extra_format_, \ |
|
192 _arg0_, _arg1_, _arg2_, _arg3_, _arg4_, 0) |
|
193 |
|
194 #define ergo_verbose6(_tag_, _action_, _extra_format_, \ |
163 #define ergo_verbose6(_tag_, _action_, _extra_format_, \ |
195 _arg0_, _arg1_, _arg2_, _arg3_, _arg4_, _arg5_) \ |
164 _arg0_, _arg1_, _arg2_, _arg3_, _arg4_, _arg5_) \ |
196 ergo_verbose_common(_tag_, _action_, _extra_format_, \ |
165 ergo_verbose_common(_tag_, _action_, _extra_format_, \ |
197 _arg0_, _arg1_, _arg2_, _arg3_, _arg4_, _arg5_) |
166 _arg0_, _arg1_, _arg2_, _arg3_, _arg4_, _arg5_) |
198 |
167 |
|
168 #define ergo_verbose5(_tag_, _action_, _extra_format_, \ |
|
169 _arg0_, _arg1_, _arg2_, _arg3_, _arg4_) \ |
|
170 ergo_verbose6(_tag_, _action_, _extra_format_ "%s", \ |
|
171 _arg0_, _arg1_, _arg2_, _arg3_, _arg4_, "") |
|
172 |
|
173 #define ergo_verbose4(_tag_, _action_, _extra_format_, \ |
|
174 _arg0_, _arg1_, _arg2_, _arg3_) \ |
|
175 ergo_verbose5(_tag_, _action_, _extra_format_ "%s", \ |
|
176 _arg0_, _arg1_, _arg2_, _arg3_, "") |
|
177 |
|
178 #define ergo_verbose3(_tag_, _action_, _extra_format_, \ |
|
179 _arg0_, _arg1_, _arg2_) \ |
|
180 ergo_verbose4(_tag_, _action_, _extra_format_ "%s", \ |
|
181 _arg0_, _arg1_, _arg2_, "") |
|
182 |
|
183 #define ergo_verbose2(_tag_, _action_, _extra_format_, \ |
|
184 _arg0_, _arg1_) \ |
|
185 ergo_verbose3(_tag_, _action_, _extra_format_ "%s", \ |
|
186 _arg0_, _arg1_, "") |
|
187 |
|
188 #define ergo_verbose1(_tag_, _action_, _extra_format_, \ |
|
189 _arg0_) \ |
|
190 ergo_verbose2(_tag_, _action_, _extra_format_ "%s", \ |
|
191 _arg0_, "") |
|
192 |
|
193 |
|
194 #define ergo_verbose0(_tag_, _action_, _extra_format_) \ |
|
195 ergo_verbose1(_tag_, _action_, _extra_format_ "%s", \ |
|
196 "") |
|
197 |
|
198 #define ergo_verbose(_tag_, _action_) \ |
|
199 ergo_verbose0(_tag_, _action_, "") |
|
200 |
|
201 |
199 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1ERGOVERBOSE_HPP |
202 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1ERGOVERBOSE_HPP |