hotspot/src/share/vm/logging/logDecorators.hpp
changeset 38263 a7488329ad27
parent 36174 481391df586b
child 42066 46f6db750b17
equal deleted inserted replaced
38262:8e814475a28a 38263:a7488329ad27
   100 
   100 
   101   void combine_with(const LogDecorators &source) {
   101   void combine_with(const LogDecorators &source) {
   102     _decorators |= source._decorators;
   102     _decorators |= source._decorators;
   103   }
   103   }
   104 
   104 
       
   105   bool is_empty() const {
       
   106     return _decorators == 0;
       
   107   }
       
   108 
   105   bool is_decorator(LogDecorators::Decorator decorator) const {
   109   bool is_decorator(LogDecorators::Decorator decorator) const {
   106     return (_decorators & mask(decorator)) != 0;
   110     return (_decorators & mask(decorator)) != 0;
   107   }
   111   }
   108 
   112 
   109   bool parse(const char* decorator_args, outputStream* errstream = NULL);
   113   bool parse(const char* decorator_args, outputStream* errstream = NULL);