summaryrefslogtreecommitdiff
path: root/java/jdk15/files/patch-hotspot::bsd::vm::osThread_bsd.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk15/files/patch-hotspot::bsd::vm::osThread_bsd.hpp')
-rw-r--r--java/jdk15/files/patch-hotspot::bsd::vm::osThread_bsd.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/java/jdk15/files/patch-hotspot::bsd::vm::osThread_bsd.hpp b/java/jdk15/files/patch-hotspot::bsd::vm::osThread_bsd.hpp
new file mode 100644
index 000000000000..ae78d2f6f45b
--- /dev/null
+++ b/java/jdk15/files/patch-hotspot::bsd::vm::osThread_bsd.hpp
@@ -0,0 +1,11 @@
+--- ../../hotspot/src/os/bsd/vm/osThread_bsd.hpp.orig Thu May 24 16:50:49 2007
++++ ../../hotspot/src/os/bsd/vm/osThread_bsd.hpp Thu May 24 16:51:16 2007
+@@ -28,7 +28,7 @@
+
+ #ifndef PRODUCT
+ // Used for debugging, return a unique integer for each thread.
+- int thread_identifier() const { return (int)_thread_id; }
++ int thread_identifier() const { return (int)(intptr_t)_thread_id; }
+ #endif
+ #ifdef ASSERT
+ // On solaris reposition can fail in two ways: