src/share/vm/runtime/globals_extension.hpp

changeset 9879
d2b51a10084d
parent 6962
009de2b033fc
child 9931
fd44df5e3bc3
equal deleted inserted replaced
9878:8689c69d5c19 9879:d2b51a10084d
189 189
190 #define FLAG_SET_DEFAULT(name, value) ((name) = (value)) 190 #define FLAG_SET_DEFAULT(name, value) ((name) = (value))
191 191
192 #define FLAG_SET_CMDLINE(type, name, value) (CommandLineFlagsEx::type##AtPut(FLAG_MEMBER_WITH_TYPE(name,type), (type)(value), Flag::COMMAND_LINE)) 192 #define FLAG_SET_CMDLINE(type, name, value) (CommandLineFlagsEx::type##AtPut(FLAG_MEMBER_WITH_TYPE(name,type), (type)(value), Flag::COMMAND_LINE))
193 #define FLAG_SET_ERGO(type, name, value) (CommandLineFlagsEx::type##AtPut(FLAG_MEMBER_WITH_TYPE(name,type), (type)(value), Flag::ERGONOMIC)) 193 #define FLAG_SET_ERGO(type, name, value) (CommandLineFlagsEx::type##AtPut(FLAG_MEMBER_WITH_TYPE(name,type), (type)(value), Flag::ERGONOMIC))
194 #define FLAG_SET_MGMT(type, name, value) (CommandLineFlagsEx::type##AtPut(FLAG_MEMBER_WITH_TYPE(name, type), (type)(value), Flag::MANAGEMENT))
194 195
195 // Can't put the following in CommandLineFlags because 196 // Can't put the following in CommandLineFlags because
196 // of a circular dependency on the enum definition. 197 // of a circular dependency on the enum definition.
197 class CommandLineFlagsEx : CommandLineFlags { 198 class CommandLineFlagsEx : CommandLineFlags {
198 public: 199 public:

mercurial