17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #ifndef SHARE_VM_RUNTIME_COMMANDLINEFLAGCONSTRAINTSRUNTIME_HPP 26 #define SHARE_VM_RUNTIME_COMMANDLINEFLAGCONSTRAINTSRUNTIME_HPP 27 28 #include "runtime/globals.hpp" 29 #include "utilities/globalDefinitions.hpp" 30 31 /* 32 * Here we have runtime arguments constraints functions, which are called automatically 33 * whenever flag's value changes. If the constraint fails the function should return 34 * an appropriate error value. 35 */ 36 37 Flag::Error ObjectAlignmentInBytesConstraintFunc(bool verbose, intx* value); 38 39 Flag::Error ContendedPaddingWidthConstraintFunc(bool verbose, intx* value); 40 41 #endif /* SHARE_VM_RUNTIME_COMMANDLINEFLAGCONSTRAINTSRUNTIME_HPP */ | 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 * 23 */ 24 25 #ifndef SHARE_VM_RUNTIME_COMMANDLINEFLAGCONSTRAINTSRUNTIME_HPP 26 #define SHARE_VM_RUNTIME_COMMANDLINEFLAGCONSTRAINTSRUNTIME_HPP 27 28 #include "runtime/globals.hpp" 29 #include "utilities/globalDefinitions.hpp" 30 31 /* 32 * Here we have runtime arguments constraints functions, which are called automatically 33 * whenever flag's value changes. If the constraint fails the function should return 34 * an appropriate error value. 35 */ 36 37 Flag::Error ObjectAlignmentInBytesConstraintFunc(bool verbose, intx value); 38 39 Flag::Error ContendedPaddingWidthConstraintFunc(bool verbose, intx value); 40 41 #endif /* SHARE_VM_RUNTIME_COMMANDLINEFLAGCONSTRAINTSRUNTIME_HPP */ |