< prev index next >

src/hotspot/share/logging/logTag.hpp

Print this page

 21  * questions.
 22  *
 23  */
 24 #ifndef SHARE_LOGGING_LOGTAG_HPP
 25 #define SHARE_LOGGING_LOGTAG_HPP
 26 
 27 #include "memory/allStatic.hpp"
 28 #include "utilities/globalDefinitions.hpp"
 29 
 30 class outputStream;
 31 
 32 // List of available logging tags. New tags should be added here, in
 33 // alphabetical order.
 34 // (The tags 'all', 'disable' and 'help' are special tags that can
 35 // not be used in log calls, and should not be listed below.)
 36 #define LOG_TAG_LIST \
 37   LOG_TAG(add) \
 38   LOG_TAG(age) \
 39   LOG_TAG(alloc) \
 40   LOG_TAG(annotation) \

 41   LOG_TAG(arguments) \
 42   LOG_TAG(array) \
 43   LOG_TAG(attach) \
 44   LOG_TAG(barrier) \
 45   LOG_TAG(blocks) \
 46   LOG_TAG(bot) \
 47   LOG_TAG(breakpoint) \
 48   LOG_TAG(bytecode) \
 49   LOG_TAG(cause) \
 50   LOG_TAG(cds) \
 51   LOG_TAG(census) \
 52   LOG_TAG(class) \
 53   LOG_TAG(classhisto) \
 54   LOG_TAG(cleanup) \
 55   LOG_TAG(codecache) \
 56   NOT_PRODUCT(LOG_TAG(codestrings)) \
 57   LOG_TAG(compaction) \
 58   LOG_TAG(compilation) \
 59   LOG_TAG(condy) \
 60   LOG_TAG(constantpool) \

 92   LOG_TAG(heap) \
 93   LOG_TAG(heapdump) \
 94   NOT_PRODUCT(LOG_TAG(heapsampling)) \
 95   LOG_TAG(humongous) \
 96   LOG_TAG(ihop) \
 97   LOG_TAG(iklass) \
 98   LOG_TAG(indy) \
 99   LOG_TAG(init) \
100   LOG_TAG(inlinecache)\
101   LOG_TAG(inlining) \
102   LOG_TAG(install) \
103   LOG_TAG(interpreter) \
104   LOG_TAG(itables) \
105   LOG_TAG(jfr) \
106   LOG_TAG(jit) \
107   LOG_TAG(jmethod) \
108   LOG_TAG(jni) \
109   LOG_TAG(jvmci) \
110   LOG_TAG(jvmti) \
111   LOG_TAG(lambda) \

112   LOG_TAG(library) \
113   LOG_TAG(link) \
114   LOG_TAG(liveness) \
115   LOG_TAG(load) /* Trace all classes loaded */ \
116   LOG_TAG(loader) \
117   LOG_TAG(logging) \
118   LOG_TAG(malloc) \
119   LOG_TAG(map) \
120   LOG_TAG(mark) \
121   LOG_TAG(marking) \

122   LOG_TAG(membername) \
123   LOG_TAG(memops) \
124   LOG_TAG(metadata) \
125   LOG_TAG(metaspace) \
126   LOG_TAG(methodcomparator) \
127   LOG_TAG(methodhandles) \
128   LOG_TAG(mirror) \
129   LOG_TAG(mmu) \
130   LOG_TAG(module) \
131   LOG_TAG(monitorinflation) \
132   LOG_TAG(monitormismatch) \
133   LOG_TAG(monitortable) \
134   LOG_TAG(native) \
135   LOG_TAG(nestmates) \
136   LOG_TAG(nmethod) \
137   LOG_TAG(nmt) \
138   LOG_TAG(normalize) \
139   LOG_TAG(numa) \
140   LOG_TAG(objecttagging) \
141   LOG_TAG(obsolete) \
142   LOG_TAG(oldobject) \
143   LOG_TAG(oom) \
144   LOG_TAG(oopmap) \
145   LOG_TAG(oops) \
146   LOG_TAG(oopstorage) \
147   LOG_TAG(os) \
148   LOG_TAG(owner) \
149   LOG_TAG(page) \
150   LOG_TAG(pagesize) \
151   LOG_TAG(parser) \
152   LOG_TAG(patch) \
153   LOG_TAG(path) \
154   LOG_TAG(perf) \
155   LOG_TAG(periodic) \
156   LOG_TAG(phases) \
157   LOG_TAG(plab) \
158   LOG_TAG(placeholders) \

159   LOG_TAG(preempt) \
160   LOG_TAG(preorder)  /* Trace all classes loaded in order referenced (not loaded) */ \
161   LOG_TAG(preview)   /* Trace loading of preview feature types */ \

162   LOG_TAG(promotion) \
163   LOG_TAG(protectiondomain) /* "Trace protection domain verification" */ \

164   LOG_TAG(ptrqueue) \
165   LOG_TAG(purge) \
166   LOG_TAG(record) \
167   LOG_TAG(redefine) \
168   LOG_TAG(ref) \
169   LOG_TAG(refine) \
170   LOG_TAG(region) \
171   LOG_TAG(reloc) \
172   LOG_TAG(remset) \
173   LOG_TAG(resolve) \
174   LOG_TAG(safepoint) \
175   LOG_TAG(sampling) \
176   LOG_TAG(scavenge) \

177   LOG_TAG(sealed) \
178   LOG_TAG(setting) \
179   LOG_TAG(smr) \
180   LOG_TAG(stackbarrier) \
181   LOG_TAG(stackmap) \
182   LOG_TAG(stacktrace) \
183   LOG_TAG(stackwalk) \
184   LOG_TAG(start) \
185   LOG_TAG(startup) \
186   LOG_TAG(startuptime) \
187   LOG_TAG(state) \
188   LOG_TAG(stats) \
189   LOG_TAG(streaming) \
190   LOG_TAG(stringdedup) \
191   LOG_TAG(stringtable) \
192   LOG_TAG(stubs) \
193   LOG_TAG(subclass) \
194   LOG_TAG(survivor) \
195   LOG_TAG(suspend) \
196   LOG_TAG(sweep) \
197   LOG_TAG(symboltable) \
198   LOG_TAG(system) \
199   LOG_TAG(table) \
200   LOG_TAG(task) \
201   DEBUG_ONLY(LOG_TAG(test)) \
202   LOG_TAG(thread) \
203   LOG_TAG(throttle) \
204   LOG_TAG(timer) \
205   LOG_TAG(tlab) \
206   LOG_TAG(tracking) \

207   LOG_TAG(trimnative) /* trim native heap */ \
208   LOG_TAG(unload) /* Trace unloading of classes */ \
209   LOG_TAG(unmap) \
210   LOG_TAG(unshareable) \
211   NOT_PRODUCT(LOG_TAG(upcall)) \
212   LOG_TAG(update) \
213   LOG_TAG(valuebasedclasses) \
214   LOG_TAG(verification) \
215   LOG_TAG(verify) \
216   LOG_TAG(vmmutex) \
217   LOG_TAG(vmoperation) \
218   LOG_TAG(vmthread) \
219   LOG_TAG(vtables) \
220   LOG_TAG(vtablestubs)
221 
222 #define PREFIX_LOG_TAG(T) (LogTag::_##T)
223 
224 // Expand a set of log tags to their prefixed names.
225 // For error detection purposes, the macro passes one more tag than what is supported.
226 // If too many tags are given, a static assert in the log class will fail.

 21  * questions.
 22  *
 23  */
 24 #ifndef SHARE_LOGGING_LOGTAG_HPP
 25 #define SHARE_LOGGING_LOGTAG_HPP
 26 
 27 #include "memory/allStatic.hpp"
 28 #include "utilities/globalDefinitions.hpp"
 29 
 30 class outputStream;
 31 
 32 // List of available logging tags. New tags should be added here, in
 33 // alphabetical order.
 34 // (The tags 'all', 'disable' and 'help' are special tags that can
 35 // not be used in log calls, and should not be listed below.)
 36 #define LOG_TAG_LIST \
 37   LOG_TAG(add) \
 38   LOG_TAG(age) \
 39   LOG_TAG(alloc) \
 40   LOG_TAG(annotation) \
 41   LOG_TAG(aot) \
 42   LOG_TAG(arguments) \
 43   LOG_TAG(array) \
 44   LOG_TAG(attach) \
 45   LOG_TAG(barrier) \
 46   LOG_TAG(blocks) \
 47   LOG_TAG(bot) \
 48   LOG_TAG(breakpoint) \
 49   LOG_TAG(bytecode) \
 50   LOG_TAG(cause) \
 51   LOG_TAG(cds) \
 52   LOG_TAG(census) \
 53   LOG_TAG(class) \
 54   LOG_TAG(classhisto) \
 55   LOG_TAG(cleanup) \
 56   LOG_TAG(codecache) \
 57   NOT_PRODUCT(LOG_TAG(codestrings)) \
 58   LOG_TAG(compaction) \
 59   LOG_TAG(compilation) \
 60   LOG_TAG(condy) \
 61   LOG_TAG(constantpool) \

 93   LOG_TAG(heap) \
 94   LOG_TAG(heapdump) \
 95   NOT_PRODUCT(LOG_TAG(heapsampling)) \
 96   LOG_TAG(humongous) \
 97   LOG_TAG(ihop) \
 98   LOG_TAG(iklass) \
 99   LOG_TAG(indy) \
100   LOG_TAG(init) \
101   LOG_TAG(inlinecache)\
102   LOG_TAG(inlining) \
103   LOG_TAG(install) \
104   LOG_TAG(interpreter) \
105   LOG_TAG(itables) \
106   LOG_TAG(jfr) \
107   LOG_TAG(jit) \
108   LOG_TAG(jmethod) \
109   LOG_TAG(jni) \
110   LOG_TAG(jvmci) \
111   LOG_TAG(jvmti) \
112   LOG_TAG(lambda) \
113   LOG_TAG(leyden) \
114   LOG_TAG(library) \
115   LOG_TAG(link) \
116   LOG_TAG(liveness) \
117   LOG_TAG(load) /* Trace all classes loaded */ \
118   LOG_TAG(loader) \
119   LOG_TAG(logging) \
120   LOG_TAG(malloc) \
121   LOG_TAG(map) \
122   LOG_TAG(mark) \
123   LOG_TAG(marking)   \
124   LOG_TAG(mdo) \
125   LOG_TAG(membername) \
126   LOG_TAG(memops) \
127   LOG_TAG(metadata) \
128   LOG_TAG(metaspace) \
129   LOG_TAG(methodcomparator) \
130   LOG_TAG(methodhandles) \
131   LOG_TAG(mirror) \
132   LOG_TAG(mmu) \
133   LOG_TAG(module) \
134   LOG_TAG(monitorinflation) \
135   LOG_TAG(monitormismatch) \
136   LOG_TAG(monitortable) \
137   LOG_TAG(native) \
138   LOG_TAG(nestmates) \
139   LOG_TAG(nmethod) \
140   LOG_TAG(nmt) \
141   LOG_TAG(normalize) \
142   LOG_TAG(numa) \
143   LOG_TAG(objecttagging) \
144   LOG_TAG(obsolete) \
145   LOG_TAG(oldobject) \
146   LOG_TAG(oom) \
147   LOG_TAG(oopmap) \
148   LOG_TAG(oops) \
149   LOG_TAG(oopstorage) \
150   LOG_TAG(os) \
151   LOG_TAG(owner) \
152   LOG_TAG(page) \
153   LOG_TAG(pagesize) \
154   LOG_TAG(parser) \
155   LOG_TAG(patch) \
156   LOG_TAG(path) \
157   LOG_TAG(perf) \
158   LOG_TAG(periodic) \
159   LOG_TAG(phases) \
160   LOG_TAG(plab) \
161   LOG_TAG(placeholders) \
162   LOG_TAG(precompile) \
163   LOG_TAG(preempt) \
164   LOG_TAG(preorder)  /* Trace all classes loaded in order referenced (not loaded) */ \
165   LOG_TAG(preview)   /* Trace loading of preview feature types */ \
166   LOG_TAG(profiling) \
167   LOG_TAG(promotion) \
168   LOG_TAG(protectiondomain) /* "Trace protection domain verification" */ \
169   LOG_TAG(proxy) \
170   LOG_TAG(ptrqueue) \
171   LOG_TAG(purge) \
172   LOG_TAG(record) \
173   LOG_TAG(redefine) \
174   LOG_TAG(ref) \
175   LOG_TAG(refine) \
176   LOG_TAG(region) \
177   LOG_TAG(reloc) \
178   LOG_TAG(remset) \
179   LOG_TAG(resolve) \
180   LOG_TAG(safepoint) \
181   LOG_TAG(sampling) \
182   LOG_TAG(scavenge) \
183   LOG_TAG(scc) \
184   LOG_TAG(sealed) \
185   LOG_TAG(setting) \
186   LOG_TAG(smr) \
187   LOG_TAG(stackbarrier) \
188   LOG_TAG(stackmap) \
189   LOG_TAG(stacktrace) \
190   LOG_TAG(stackwalk) \
191   LOG_TAG(start) \
192   LOG_TAG(startup) \
193   LOG_TAG(startuptime) \
194   LOG_TAG(state) \
195   LOG_TAG(stats) \
196   LOG_TAG(streaming) \
197   LOG_TAG(stringdedup) \
198   LOG_TAG(stringtable) \
199   LOG_TAG(stubs) \
200   LOG_TAG(subclass) \
201   LOG_TAG(survivor) \
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(vmmutex) \
225   LOG_TAG(vmoperation) \
226   LOG_TAG(vmthread) \
227   LOG_TAG(vtables) \
228   LOG_TAG(vtablestubs)
229 
230 #define PREFIX_LOG_TAG(T) (LogTag::_##T)
231 
232 // Expand a set of log tags to their prefixed names.
233 // For error detection purposes, the macro passes one more tag than what is supported.
234 // If too many tags are given, a static assert in the log class will fail.
< prev index next >