src/hotspot/share/logging/logDecorations.cpp
changeset 58884 562df5d69eed
parent 55656 1346086863a3
child 59247 56bf71d64d51
--- a/src/hotspot/share/logging/logDecorations.cpp	Fri Nov 01 07:58:05 2019 +0100
+++ b/src/hotspot/share/logging/logDecorations.cpp	Fri Nov 01 10:04:49 2019 -0400
@@ -65,6 +65,8 @@
   if (decorators.is_decorator(LogDecorators::full_name##_decorator)) { \
     _decoration_offset[LogDecorators::full_name##_decorator] = position; \
     position = create_##full_name##_decoration(position) + 1; \
+  } else { \
+    _decoration_offset[LogDecorators::full_name##_decorator] = NULL; \
   }
   DECORATOR_LIST
 #undef DECORATOR