src/share/vm/runtime/globals.hpp

changeset 9861
a248d0be1309
parent 9858
b985cbb00e68
child 9893
be5266057dda
     1.1 --- a/src/share/vm/runtime/globals.hpp	Wed May 16 15:25:51 2018 +0200
     1.2 +++ b/src/share/vm/runtime/globals.hpp	Mon Aug 19 10:11:31 2019 +0200
     1.3 @@ -369,33 +369,33 @@
     1.4  
     1.5  class CommandLineFlags {
     1.6   public:
     1.7 -  static bool boolAt(const char* name, size_t len, bool* value);
     1.8 -  static bool boolAt(const char* name, bool* value)      { return boolAt(name, strlen(name), value); }
     1.9 +  static bool boolAt(const char* name, size_t len, bool* value, bool allow_locked = false, bool return_flag = false);
    1.10 +  static bool boolAt(const char* name, bool* value, bool allow_locked = false, bool return_flag = false)   { return boolAt(name, strlen(name), value, allow_locked, return_flag); }
    1.11    static bool boolAtPut(const char* name, size_t len, bool* value, Flag::Flags origin);
    1.12    static bool boolAtPut(const char* name, bool* value, Flag::Flags origin)   { return boolAtPut(name, strlen(name), value, origin); }
    1.13  
    1.14 -  static bool intxAt(const char* name, size_t len, intx* value);
    1.15 -  static bool intxAt(const char* name, intx* value)      { return intxAt(name, strlen(name), value); }
    1.16 +  static bool intxAt(const char* name, size_t len, intx* value, bool allow_locked = false, bool return_flag = false);
    1.17 +  static bool intxAt(const char* name, intx* value, bool allow_locked = false, bool return_flag = false)      { return intxAt(name, strlen(name), value, allow_locked, return_flag); }
    1.18    static bool intxAtPut(const char* name, size_t len, intx* value, Flag::Flags origin);
    1.19    static bool intxAtPut(const char* name, intx* value, Flag::Flags origin)   { return intxAtPut(name, strlen(name), value, origin); }
    1.20  
    1.21 -  static bool uintxAt(const char* name, size_t len, uintx* value);
    1.22 -  static bool uintxAt(const char* name, uintx* value)    { return uintxAt(name, strlen(name), value); }
    1.23 +  static bool uintxAt(const char* name, size_t len, uintx* value, bool allow_locked = false, bool return_flag = false);
    1.24 +  static bool uintxAt(const char* name, uintx* value, bool allow_locked = false, bool return_flag = false)    { return uintxAt(name, strlen(name), value, allow_locked, return_flag); }
    1.25    static bool uintxAtPut(const char* name, size_t len, uintx* value, Flag::Flags origin);
    1.26    static bool uintxAtPut(const char* name, uintx* value, Flag::Flags origin) { return uintxAtPut(name, strlen(name), value, origin); }
    1.27  
    1.28 -  static bool uint64_tAt(const char* name, size_t len, uint64_t* value);
    1.29 -  static bool uint64_tAt(const char* name, uint64_t* value) { return uint64_tAt(name, strlen(name), value); }
    1.30 +  static bool uint64_tAt(const char* name, size_t len, uint64_t* value, bool allow_locked = false, bool return_flag = false);
    1.31 +  static bool uint64_tAt(const char* name, uint64_t* value, bool allow_locked = false, bool return_flag = false) { return uint64_tAt(name, strlen(name), value, allow_locked, return_flag); }
    1.32    static bool uint64_tAtPut(const char* name, size_t len, uint64_t* value, Flag::Flags origin);
    1.33    static bool uint64_tAtPut(const char* name, uint64_t* value, Flag::Flags origin) { return uint64_tAtPut(name, strlen(name), value, origin); }
    1.34  
    1.35 -  static bool doubleAt(const char* name, size_t len, double* value);
    1.36 -  static bool doubleAt(const char* name, double* value)    { return doubleAt(name, strlen(name), value); }
    1.37 +  static bool doubleAt(const char* name, size_t len, double* value, bool allow_locked = false, bool return_flag = false);
    1.38 +  static bool doubleAt(const char* name, double* value, bool allow_locked = false, bool return_flag = false)    { return doubleAt(name, strlen(name), value, allow_locked, return_flag); }
    1.39    static bool doubleAtPut(const char* name, size_t len, double* value, Flag::Flags origin);
    1.40    static bool doubleAtPut(const char* name, double* value, Flag::Flags origin) { return doubleAtPut(name, strlen(name), value, origin); }
    1.41  
    1.42 -  static bool ccstrAt(const char* name, size_t len, ccstr* value);
    1.43 -  static bool ccstrAt(const char* name, ccstr* value)    { return ccstrAt(name, strlen(name), value); }
    1.44 +  static bool ccstrAt(const char* name, size_t len, ccstr* value, bool allow_locked = false, bool return_flag = false);
    1.45 +  static bool ccstrAt(const char* name, ccstr* value, bool allow_locked = false, bool return_flag = false)    { return ccstrAt(name, strlen(name), value, allow_locked, return_flag); }
    1.46    // Contract:  Flag will make private copy of the incoming value.
    1.47    // Outgoing value is always malloc-ed, and caller MUST call free.
    1.48    static bool ccstrAtPut(const char* name, size_t len, ccstr* value, Flag::Flags origin);

mercurial