< prev index next >

src/hotspot/share/runtime/flags/jvmFlag.hpp

Print this page




 259 
 260   static JVMFlag::Error doubleAt(const char* name, size_t len, double* value, bool allow_locked = false, bool return_flag = false);
 261   static JVMFlag::Error doubleAt(const char* name, double* value, bool allow_locked = false, bool return_flag = false)    { return doubleAt(name, strlen(name), value, allow_locked, return_flag); }
 262   static JVMFlag::Error doubleAtPut(JVMFlag* flag, double* value, JVMFlag::Flags origin);
 263   static JVMFlag::Error doubleAtPut(const char* name, size_t len, double* value, JVMFlag::Flags origin);
 264   static JVMFlag::Error doubleAtPut(const char* name, double* value, JVMFlag::Flags origin) { return doubleAtPut(name, strlen(name), value, origin); }
 265 
 266   static JVMFlag::Error ccstrAt(const char* name, size_t len, ccstr* value, bool allow_locked = false, bool return_flag = false);
 267   static JVMFlag::Error ccstrAt(const char* name, ccstr* value, bool allow_locked = false, bool return_flag = false)    { return ccstrAt(name, strlen(name), value, allow_locked, return_flag); }
 268   // Contract:  JVMFlag will make private copy of the incoming value.
 269   // Outgoing value is always malloc-ed, and caller MUST call free.
 270   static JVMFlag::Error ccstrAtPut(const char* name, size_t len, ccstr* value, JVMFlag::Flags origin);
 271   static JVMFlag::Error ccstrAtPut(const char* name, ccstr* value, JVMFlag::Flags origin) { return ccstrAtPut(name, strlen(name), value, origin); }
 272 
 273   // Returns false if name is not a command line flag.
 274   static bool wasSetOnCmdline(const char* name, bool* value);
 275   static void printSetFlags(outputStream* out);
 276 
 277   // printRanges will print out flags type, name and range values as expected by -XX:+PrintFlagsRanges
 278   static void printFlags(outputStream* out, bool withComments, bool printRanges = false, bool skipDefaults = false);
 279   static void printError(bool verbose, const char* msg, ...) ATTRIBUTE_PRINTF(2, 3);
 280 
 281   static void verify() PRODUCT_RETURN;
 282 };
 283 
 284 #endif // SHARE_VM_RUNTIME_FLAGS_JVMFLAG_HPP


 259 
 260   static JVMFlag::Error doubleAt(const char* name, size_t len, double* value, bool allow_locked = false, bool return_flag = false);
 261   static JVMFlag::Error doubleAt(const char* name, double* value, bool allow_locked = false, bool return_flag = false)    { return doubleAt(name, strlen(name), value, allow_locked, return_flag); }
 262   static JVMFlag::Error doubleAtPut(JVMFlag* flag, double* value, JVMFlag::Flags origin);
 263   static JVMFlag::Error doubleAtPut(const char* name, size_t len, double* value, JVMFlag::Flags origin);
 264   static JVMFlag::Error doubleAtPut(const char* name, double* value, JVMFlag::Flags origin) { return doubleAtPut(name, strlen(name), value, origin); }
 265 
 266   static JVMFlag::Error ccstrAt(const char* name, size_t len, ccstr* value, bool allow_locked = false, bool return_flag = false);
 267   static JVMFlag::Error ccstrAt(const char* name, ccstr* value, bool allow_locked = false, bool return_flag = false)    { return ccstrAt(name, strlen(name), value, allow_locked, return_flag); }
 268   // Contract:  JVMFlag will make private copy of the incoming value.
 269   // Outgoing value is always malloc-ed, and caller MUST call free.
 270   static JVMFlag::Error ccstrAtPut(const char* name, size_t len, ccstr* value, JVMFlag::Flags origin);
 271   static JVMFlag::Error ccstrAtPut(const char* name, ccstr* value, JVMFlag::Flags origin) { return ccstrAtPut(name, strlen(name), value, origin); }
 272 
 273   // Returns false if name is not a command line flag.
 274   static bool wasSetOnCmdline(const char* name, bool* value);
 275   static void printSetFlags(outputStream* out);
 276 
 277   // printRanges will print out flags type, name and range values as expected by -XX:+PrintFlagsRanges
 278   static void printFlags(outputStream* out, bool withComments, bool printRanges = false, bool skipDefaults = false);
 279   static void printError(bool verbose, const char* msg, ...);
 280 
 281   static void verify() PRODUCT_RETURN;
 282 };
 283 
 284 #endif // SHARE_VM_RUNTIME_FLAGS_JVMFLAG_HPP
< prev index next >