comparison src/share/vm/logging/logTagLevelExpression.hpp @ 10867:78eaba1e0d24

8153731: Increase max tag combinations for UL expression (config) Reviewed-by: stefank, mlarsson
author rehn
date Fri, 08 Apr 2016 15:36:34 +0200
parents a910db847a63
children 6ac1e2e55eaa
comparison
equal deleted inserted replaced
2:40dc4c34458a 3:0ebddcbc0579
34 class LogTagSet; 34 class LogTagSet;
35 35
36 // Class used to temporary encode a 'what'-expression during log configuration. 36 // Class used to temporary encode a 'what'-expression during log configuration.
37 // Consists of a combination of tags and levels, e.g. "tag1+tag2=level1,tag3*=level2". 37 // Consists of a combination of tags and levels, e.g. "tag1+tag2=level1,tag3*=level2".
38 class LogTagLevelExpression : public StackObj { 38 class LogTagLevelExpression : public StackObj {
39 public:
40 static const size_t MaxCombinations = 256;
41
42 private:
39 friend void LogConfiguration::configure_stdout(LogLevelType, bool, ...); 43 friend void LogConfiguration::configure_stdout(LogLevelType, bool, ...);
40 private: 44
41 static const size_t MaxCombinations = 32;
42 static const char* DefaultExpressionString; 45 static const char* DefaultExpressionString;
43 46
44 size_t _ntags, _ncombinations; 47 size_t _ntags, _ncombinations;
45 LogTagType _tags[MaxCombinations][LogTag::MaxTags]; 48 LogTagType _tags[MaxCombinations][LogTag::MaxTags];
46 LogLevelType _level[MaxCombinations]; 49 LogLevelType _level[MaxCombinations];