summaryrefslogtreecommitdiff
path: root/java/jdk15/files/patch-vm::globals.hpp
blob: 04d6c38413edffdcf43ac916240093be4211e5bd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$FreeBSD$

--- ../../hotspot/src/share/vm/runtime/globals.hpp.orig	Wed May  2 04:01:50 2007
+++ ../../hotspot/src/share/vm/runtime/globals.hpp	Tue Sep 18 21:40:44 2007
@@ -130,6 +130,12 @@
 #define falseInProduct true
 #endif
 
+#if defined(_ALLBSD_SOURCE)
+#define OSUseThreadPriorities false
+#else
+#define OSUseThreadPriorities true
+#endif
+
 // develop flags are settable / visible only during development and are constant in the PRODUCT version
 // product flags are always settable / visible
 
@@ -2546,7 +2552,7 @@
           "beginning to throw OutOfMemoryErrors in each compile")           \
                                                                             \
   /* Priorities */                                                          \
-  product(bool, UseThreadPriorities, true,                                  \
+  product(bool, UseThreadPriorities, OSUseThreadPriorities,                 \
           "Use native thread priorities")	                            \
                                                                             \
   product(intx, ThreadPriorityPolicy, 0,                                    \