< prev index next >

src/share/vm/logging/logDecorations.hpp

Print this page
rev 8933 : 8046148.01

@@ -19,17 +19,19 @@
  * 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_LOGDECORATIONS_HPP_
-#define SHARE_VM_LOGGING_LOGDECORATIONS_HPP_
+#ifndef SHARE_VM_LOGGING_LOGDECORATIONS_HPP
+#define SHARE_VM_LOGGING_LOGDECORATIONS_HPP
+
 #include "logging/logDecorators.hpp"
 #include "logging/logTagSet.hpp"
+#include "memory/allocation.hpp"
 
 // Temporary object containing the necessary data for a log call's decorations (timestamps, etc).
-class LogDecorations {
+class LogDecorations VALUE_OBJ_CLASS_SPEC {
  public:
   static const int DecorationsBufferSize = 256;
  private:
   char _decorations_buffer[DecorationsBufferSize];
   char* _decoration_offset[LogDecorators::Count];

@@ -45,17 +47,16 @@
   DECORATOR_LIST
 #undef DECORATOR
 
  public:
   LogDecorations(LogLevelType level, const LogTagSet& tagset, const LogDecorators& decorators);
-  virtual ~LogDecorations() {}
 
   const char* decoration(LogDecorators::Decorator decorator) const {
     return _decoration_offset[decorator];
   }
 
   static void set_vm_start_time_millis(jlong start_time) {
     _vm_start_time_millis = start_time;
   }
 };
 
-#endif
+#endif // SHARE_VM_LOGGING_LOGDECORATIONS_HPP
< prev index next >