< prev index next >

src/hotspot/os/bsd/globals_bsd.hpp

Print this page

@@ -24,32 +24,23 @@
 
 #ifndef OS_BSD_GLOBALS_BSD_HPP
 #define OS_BSD_GLOBALS_BSD_HPP
 
 //
-// Defines Bsd specific flags. They are not available on other platforms.
+// Declare Bsd specific flags. They are not available on other platforms.
 //
-#define RUNTIME_OS_FLAGS(develop, \
-                         develop_pd, \
-                         product, \
-                         product_pd, \
-                         diagnostic, \
-                         diagnostic_pd, \
-                         notproduct, \
-                         range, \
-                         constraint) \
-                                                                                \
-  product(bool, UseOprofile, false,                                             \
-        "enable support for Oprofile profiler")                                 \
-                                                                                \
-  /*  NB: The default value of UseBsdPosixThreadCPUClocks may be  */            \
-  /*  overridden in Arguments::parse_each_vm_init_arg.            */            \
-  product(bool, UseBsdPosixThreadCPUClocks, true,                               \
-          "enable fast Bsd Posix clocks where available")                       \
+#include "runtime/flags/jvmFlag.hpp"
+PRODUCT_FLAG(bool,     UseOprofile, false, JVMFlag::DEFAULT,
+                       "enable support for Oprofile profiler");
 
+
+    //   NB: The default value of UseBsdPosixThreadCPUClocks may be  
+    //   overridden in Arguments::parse_each_vm_init_arg.            
+PRODUCT_FLAG(bool,     UseBsdPosixThreadCPUClocks, true, JVMFlag::DEFAULT,
+                       "enable fast Bsd Posix clocks where available");
 //
-// Defines Bsd-specific default values. The flags are available on all
+// Define Bsd-specific default values. The flags are available on all
 // platforms, but they may have different default values on other platforms.
 //
 define_pd_global(bool, UseLargePages, false);
 define_pd_global(bool, UseLargePagesIndividualAllocation, false);
 define_pd_global(bool, UseOSErrorReporting, false);
< prev index next >