< prev index next >

src/hotspot/share/logging/logTag.hpp

Print this page

146   LOG_TAG(obsolete) \
147   LOG_TAG(oldobject) \
148   LOG_TAG(oom) \
149   LOG_TAG(oopmap) \
150   LOG_TAG(oops) \
151   LOG_TAG(oopstorage) \
152   LOG_TAG(os) \
153   LOG_TAG(owner) \
154   LOG_TAG(package) \
155   LOG_TAG(page) \
156   LOG_TAG(pagesize) \
157   LOG_TAG(parser) \
158   LOG_TAG(patch) \
159   LOG_TAG(path) \
160   LOG_TAG(perf) \
161   LOG_TAG(periodic) \
162   LOG_TAG(phases) \
163   LOG_TAG(plab) \
164   LOG_TAG(placeholders) \
165   LOG_TAG(preempt) \

166   LOG_TAG(preorder)  /* Trace all classes loaded in order referenced (not loaded) */ \
167   LOG_TAG(preview)   /* Trace loading of preview feature types */ \
168   LOG_TAG(promotion) \
169   LOG_TAG(ptrqueue) \
170   LOG_TAG(purge) \
171   LOG_TAG(record) \
172   LOG_TAG(redact) \
173   LOG_TAG(redefine) \
174   LOG_TAG(ref) \
175   LOG_TAG(refine) \
176   LOG_TAG(region) \
177   LOG_TAG(reloc) \
178   LOG_TAG(relocator) \
179   LOG_TAG(remset) \
180   LOG_TAG(resolve) \
181   LOG_TAG(safepoint) \
182   LOG_TAG(sampling) \
183   LOG_TAG(scavenge) \
184   LOG_TAG(sealed) \
185   LOG_TAG(setting) \

202   LOG_TAG(suspend) \
203   LOG_TAG(sweep) \
204   LOG_TAG(symboltable) \
205   LOG_TAG(system) \
206   LOG_TAG(table) \
207   LOG_TAG(task) \
208   DEBUG_ONLY(LOG_TAG(test)) \
209   LOG_TAG(thread) \
210   LOG_TAG(throttle) \
211   LOG_TAG(timer) \
212   LOG_TAG(tlab) \
213   LOG_TAG(tracking) \
214   LOG_TAG(training) \
215   LOG_TAG(trimnative) /* trim native heap */ \
216   LOG_TAG(unload) /* Trace unloading of classes */ \
217   LOG_TAG(unmap) \
218   LOG_TAG(unshareable) \
219   NOT_PRODUCT(LOG_TAG(upcall)) \
220   LOG_TAG(update) \
221   LOG_TAG(valuebasedclasses) \

222   LOG_TAG(verification) \
223   LOG_TAG(verify) \
224   LOG_TAG(vmatree) \
225   LOG_TAG(vmmutex) \
226   LOG_TAG(vmoperation) \
227   LOG_TAG(vmthread) \
228   LOG_TAG(vtables) \
229   LOG_TAG(vtablestubs)
230 
231 #define PREFIX_LOG_TAG(T) (LogTag::_##T)
232 
233 // Expand a set of log tags to their prefixed names.
234 // For error detection purposes, the macro passes one more tag than what is supported.
235 // If too many tags are given, a static assert in the log class will fail.
236 #define LOG_TAGS_EXPANDED(T0, T1, T2, T3, T4, T5, ...)  PREFIX_LOG_TAG(T0), PREFIX_LOG_TAG(T1), PREFIX_LOG_TAG(T2), \
237                                                         PREFIX_LOG_TAG(T3), PREFIX_LOG_TAG(T4), PREFIX_LOG_TAG(T5)
238 // The EXPAND_VARARGS macro is required for MSVC, or it will resolve the LOG_TAGS_EXPANDED macro incorrectly.
239 #define EXPAND_VARARGS(x) x
240 #define LOG_TAGS(...) EXPAND_VARARGS(LOG_TAGS_EXPANDED(__VA_ARGS__, _NO_TAG, _NO_TAG, _NO_TAG, _NO_TAG, _NO_TAG, _NO_TAG))
241 

146   LOG_TAG(obsolete) \
147   LOG_TAG(oldobject) \
148   LOG_TAG(oom) \
149   LOG_TAG(oopmap) \
150   LOG_TAG(oops) \
151   LOG_TAG(oopstorage) \
152   LOG_TAG(os) \
153   LOG_TAG(owner) \
154   LOG_TAG(package) \
155   LOG_TAG(page) \
156   LOG_TAG(pagesize) \
157   LOG_TAG(parser) \
158   LOG_TAG(patch) \
159   LOG_TAG(path) \
160   LOG_TAG(perf) \
161   LOG_TAG(periodic) \
162   LOG_TAG(phases) \
163   LOG_TAG(plab) \
164   LOG_TAG(placeholders) \
165   LOG_TAG(preempt) \
166   LOG_TAG(preload)   /* Trace successful class preloading */ \
167   LOG_TAG(preorder)  /* Trace all classes loaded in order referenced (not loaded) */ \
168   LOG_TAG(preview)   /* Trace loading of preview feature types */ \
169   LOG_TAG(promotion) \
170   LOG_TAG(ptrqueue) \
171   LOG_TAG(purge) \
172   LOG_TAG(record) \
173   LOG_TAG(redact) \
174   LOG_TAG(redefine) \
175   LOG_TAG(ref) \
176   LOG_TAG(refine) \
177   LOG_TAG(region) \
178   LOG_TAG(reloc) \
179   LOG_TAG(relocator) \
180   LOG_TAG(remset) \
181   LOG_TAG(resolve) \
182   LOG_TAG(safepoint) \
183   LOG_TAG(sampling) \
184   LOG_TAG(scavenge) \
185   LOG_TAG(sealed) \
186   LOG_TAG(setting) \

203   LOG_TAG(suspend) \
204   LOG_TAG(sweep) \
205   LOG_TAG(symboltable) \
206   LOG_TAG(system) \
207   LOG_TAG(table) \
208   LOG_TAG(task) \
209   DEBUG_ONLY(LOG_TAG(test)) \
210   LOG_TAG(thread) \
211   LOG_TAG(throttle) \
212   LOG_TAG(timer) \
213   LOG_TAG(tlab) \
214   LOG_TAG(tracking) \
215   LOG_TAG(training) \
216   LOG_TAG(trimnative) /* trim native heap */ \
217   LOG_TAG(unload) /* Trace unloading of classes */ \
218   LOG_TAG(unmap) \
219   LOG_TAG(unshareable) \
220   NOT_PRODUCT(LOG_TAG(upcall)) \
221   LOG_TAG(update) \
222   LOG_TAG(valuebasedclasses) \
223   LOG_TAG(valuetypes) \
224   LOG_TAG(verification) \
225   LOG_TAG(verify) \
226   LOG_TAG(vmatree) \
227   LOG_TAG(vmmutex) \
228   LOG_TAG(vmoperation) \
229   LOG_TAG(vmthread) \
230   LOG_TAG(vtables) \
231   LOG_TAG(vtablestubs)
232 
233 #define PREFIX_LOG_TAG(T) (LogTag::_##T)
234 
235 // Expand a set of log tags to their prefixed names.
236 // For error detection purposes, the macro passes one more tag than what is supported.
237 // If too many tags are given, a static assert in the log class will fail.
238 #define LOG_TAGS_EXPANDED(T0, T1, T2, T3, T4, T5, ...)  PREFIX_LOG_TAG(T0), PREFIX_LOG_TAG(T1), PREFIX_LOG_TAG(T2), \
239                                                         PREFIX_LOG_TAG(T3), PREFIX_LOG_TAG(T4), PREFIX_LOG_TAG(T5)
240 // The EXPAND_VARARGS macro is required for MSVC, or it will resolve the LOG_TAGS_EXPANDED macro incorrectly.
241 #define EXPAND_VARARGS(x) x
242 #define LOG_TAGS(...) EXPAND_VARARGS(LOG_TAGS_EXPANDED(__VA_ARGS__, _NO_TAG, _NO_TAG, _NO_TAG, _NO_TAG, _NO_TAG, _NO_TAG))
243 
< prev index next >