129 bool is_unlocker() const; |
132 bool is_unlocker() const; |
130 bool is_unlocked() const; |
133 bool is_unlocked() const; |
131 bool is_writeable() const; |
134 bool is_writeable() const; |
132 bool is_external() const; |
135 bool is_external() const; |
133 |
136 |
134 void print_on(outputStream* st); |
137 void print_on(outputStream* st, bool withComments = false ); |
135 void print_as_flag(outputStream* st); |
138 void print_as_flag(outputStream* st); |
136 }; |
139 }; |
137 |
140 |
138 // debug flags control various aspects of the VM and are global accessible |
141 // debug flags control various aspects of the VM and are global accessible |
139 |
142 |
209 |
212 |
210 // Returns false if name is not a command line flag. |
213 // Returns false if name is not a command line flag. |
211 static bool wasSetOnCmdline(const char* name, bool* value); |
214 static bool wasSetOnCmdline(const char* name, bool* value); |
212 static void printSetFlags(); |
215 static void printSetFlags(); |
213 |
216 |
214 static void printFlags(); |
217 static void printFlags(bool withComments = false ); |
215 |
218 |
216 static void verify() PRODUCT_RETURN; |
219 static void verify() PRODUCT_RETURN; |
217 }; |
220 }; |
218 |
221 |
219 // use this for flags that are true by default in the debug version but |
222 // use this for flags that are true by default in the debug version but |
2404 "Print all VM flags before argument processing and exit VM") \ |
2407 "Print all VM flags before argument processing and exit VM") \ |
2405 \ |
2408 \ |
2406 product(bool, PrintFlagsFinal, false, \ |
2409 product(bool, PrintFlagsFinal, false, \ |
2407 "Print all VM flags after argument and ergonomic processing") \ |
2410 "Print all VM flags after argument and ergonomic processing") \ |
2408 \ |
2411 \ |
|
2412 notproduct(bool, PrintFlagsWithComments, false, \ |
|
2413 "Print all VM flags with default values and descriptions and exit")\ |
|
2414 \ |
2409 diagnostic(bool, SerializeVMOutput, true, \ |
2415 diagnostic(bool, SerializeVMOutput, true, \ |
2410 "Use a mutex to serialize output to tty and hotspot.log") \ |
2416 "Use a mutex to serialize output to tty and hotspot.log") \ |
2411 \ |
2417 \ |
2412 diagnostic(bool, DisplayVMOutput, true, \ |
2418 diagnostic(bool, DisplayVMOutput, true, \ |
2413 "Display all VM output on the tty, independently of LogVMOutput") \ |
2419 "Display all VM output on the tty, independently of LogVMOutput") \ |