equal
deleted
inserted
replaced
182 enum MsgType { |
182 enum MsgType { |
183 NONE = 0, |
183 NONE = 0, |
184 DIAGNOSTIC_FLAG_BUT_LOCKED, |
184 DIAGNOSTIC_FLAG_BUT_LOCKED, |
185 EXPERIMENTAL_FLAG_BUT_LOCKED, |
185 EXPERIMENTAL_FLAG_BUT_LOCKED, |
186 DEVELOPER_FLAG_BUT_PRODUCT_BUILD, |
186 DEVELOPER_FLAG_BUT_PRODUCT_BUILD, |
187 NOTPRODUCT_FLAG_BUT_PRODUCT_BUILD |
187 NOTPRODUCT_FLAG_BUT_PRODUCT_BUILD, |
|
188 COMMERCIAL_FLAG_BUT_DISABLED, |
|
189 COMMERCIAL_FLAG_BUT_LOCKED |
188 }; |
190 }; |
189 |
191 |
190 const char* _type; |
192 const char* _type; |
191 const char* _name; |
193 const char* _name; |
192 void* _addr; |
194 void* _addr; |
283 bool is_external_ext() const; |
285 bool is_external_ext() const; |
284 |
286 |
285 void clear_diagnostic(); |
287 void clear_diagnostic(); |
286 |
288 |
287 Flag::MsgType get_locked_message(char*, int) const; |
289 Flag::MsgType get_locked_message(char*, int) const; |
288 void get_locked_message_ext(char*, int) const; |
290 Flag::MsgType get_locked_message_ext(char*, int) const; |
289 |
291 |
290 // printRanges will print out flags type, name and range values as expected by -XX:+PrintFlagsRanges |
292 // printRanges will print out flags type, name and range values as expected by -XX:+PrintFlagsRanges |
291 void print_on(outputStream* st, bool withComments = false, bool printRanges = false); |
293 void print_on(outputStream* st, bool withComments = false, bool printRanges = false); |
292 void print_kind_and_origin(outputStream* st); |
294 void print_kind(outputStream* st, unsigned int width); |
|
295 void print_origin(outputStream* st, unsigned int width); |
293 void print_as_flag(outputStream* st); |
296 void print_as_flag(outputStream* st); |
294 |
297 |
295 static const char* flag_error_str(Flag::Error error); |
298 static const char* flag_error_str(Flag::Error error); |
296 }; |
299 }; |
297 |
300 |
2651 develop(intx, FastAllocateSizeLimit, 128*K, \ |
2654 develop(intx, FastAllocateSizeLimit, 128*K, \ |
2652 /* Note: This value is zero mod 1<<13 for a cheap sparc set. */ \ |
2655 /* Note: This value is zero mod 1<<13 for a cheap sparc set. */ \ |
2653 "Inline allocations larger than this in doublewords must go slow")\ |
2656 "Inline allocations larger than this in doublewords must go slow")\ |
2654 \ |
2657 \ |
2655 product(bool, AggressiveOpts, false, \ |
2658 product(bool, AggressiveOpts, false, \ |
2656 "Enable aggressive optimizations - see arguments.cpp") \ |
2659 "(Deprecated) Enable aggressive optimizations - see arguments.cpp") \ |
2657 \ |
2660 \ |
2658 product_pd(bool, CompactStrings, \ |
2661 product_pd(bool, CompactStrings, \ |
2659 "Enable Strings to use single byte chars in backing store") \ |
2662 "Enable Strings to use single byte chars in backing store") \ |
2660 \ |
2663 \ |
2661 product_pd(uintx, TypeProfileLevel, \ |
2664 product_pd(uintx, TypeProfileLevel, \ |