< prev index next >
src/share/vm/logging/logDecorators.hpp
Print this page
rev 8933 : 8046148.01
@@ -19,12 +19,14 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
-#ifndef SHARE_VM_LOGGING_LOGDECORATORS_HPP_
-#define SHARE_VM_LOGGING_LOGDECORATORS_HPP_
+#ifndef SHARE_VM_LOGGING_LOGDECORATORS_HPP
+#define SHARE_VM_LOGGING_LOGDECORATORS_HPP
+
+#include "memory/allocation.hpp"
#include "utilities/globalDefinitions.hpp"
// The list of available decorators:
// time - Current time and date in ISO-8601 format
// uptime - Time since the start of the JVM in seconds and milliseconds (e.g., 6.567s)
@@ -50,11 +52,11 @@
// LogDecorators represents a selection of decorators that should be prepended to
// each log message for a given output. Decorators are always prepended in the order
// declared above. For example, logging with 'uptime, level, tags' decorators results in:
// [0,943s][info ][logging] message.
-class LogDecorators {
+class LogDecorators VALUE_OBJ_CLASS_SPEC {
public:
enum Decorator {
#define DECORATOR(name, abbr) name##_decorator,
DECORATOR_LIST
#undef DECORATOR
@@ -98,6 +100,6 @@
}
bool parse(const char* decorator_args, outputStream* errstream = NULL);
};
-#endif
+#endif // SHARE_VM_LOGGING_LOGDECORATORS_HPP
< prev index next >