summaryrefslogtreecommitdiffstats
path: root/java/jdk15/files/patch-hotspot::vm::thread_bsd.inline.hpp
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-22 03:49:48 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-22 03:49:48 +0800
commit62198160c2d9b228a0b7a62a042e1988863165cc (patch)
treef00b49a0ae0d117ad1a9118de1b1fdf6142760e2 /java/jdk15/files/patch-hotspot::vm::thread_bsd.inline.hpp
parentf53366fa4d2f4b315a71c4ad6ffa431deba99cbd (diff)
downloadmarcuscom-ports-62198160c2d9b228a0b7a62a042e1988863165cc.tar
marcuscom-ports-62198160c2d9b228a0b7a62a042e1988863165cc.tar.gz
marcuscom-ports-62198160c2d9b228a0b7a62a042e1988863165cc.tar.bz2
marcuscom-ports-62198160c2d9b228a0b7a62a042e1988863165cc.tar.lz
marcuscom-ports-62198160c2d9b228a0b7a62a042e1988863165cc.tar.xz
marcuscom-ports-62198160c2d9b228a0b7a62a042e1988863165cc.tar.zst
marcuscom-ports-62198160c2d9b228a0b7a62a042e1988863165cc.zip
- Chase firefox/mozilla move to LOCALBASE
Don't bump PORTREVISION git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6679 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'java/jdk15/files/patch-hotspot::vm::thread_bsd.inline.hpp')
-rw-r--r--java/jdk15/files/patch-hotspot::vm::thread_bsd.inline.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/java/jdk15/files/patch-hotspot::vm::thread_bsd.inline.hpp b/java/jdk15/files/patch-hotspot::vm::thread_bsd.inline.hpp
new file mode 100644
index 000000000..143bbc3de
--- /dev/null
+++ b/java/jdk15/files/patch-hotspot::vm::thread_bsd.inline.hpp
@@ -0,0 +1,16 @@
+$FreeBSD: ports/java/jdk15/files/patch-hotspot::vm::thread_bsd.inline.hpp,v 1.1 2006/06/16 21:29:53 glewis Exp $
+
+--- ../../hotspot/src/os/bsd/vm/thread_bsd.inline.hpp.orig Thu Jun 15 17:58:02 2006
++++ ../../hotspot/src/os/bsd/vm/thread_bsd.inline.hpp Thu Jun 15 17:59:19 2006
+@@ -19,7 +19,10 @@
+
+ uintptr_t raw = pd_raw_thread_id();
+ int ix = pd_cache_index(raw);
+-#ifdef __OpenBSD__
++// XXXBSD: disable fast case. there is a race condition where the
++// fast case returns a different thread from the slow case and has
++// been seen on both OpenBSD and FreeBSD.
++#if 1
+ return ThreadLocalStorage::get_thread_via_cache_slowly(raw, ix);
+ #else
+ Thread *Candidate = ThreadLocalStorage::_get_thread_cache[ix];