View | Details | Raw Unified | Return to bug 225054 | Differences between
and this patch

Collapse All | Expand All

(-)b/java/openjdk6/files/patch-hotspot_src_os__cpu_bsd__x86_vm_atomic__bsd__x86.inline.hpp (+11 lines)
Added Link Here
1
--- hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp.orig	2014-03-04 02:52:14 UTC
2
+++ hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp
3
@@ -45,7 +45,7 @@ inline void Atomic::store_ptr(void*    store_value, vo
4
 
5
 
6
 // Adding a lock prefix to an instruction on MP machine
7
-#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; lock; 1: "
8
+#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; 1: lock "
9
 
10
 inline jint     Atomic::add    (jint     add_value, volatile jint*     dest) {
11
   jint addend = add_value;
(-)b/java/openjdk7/files/patch-hotspot_src_os__cpu_bsd__x86_vm_atomic__bsd__x86.inline.hpp (+11 lines)
Added Link Here
1
--- hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp.orig	2014-03-04 02:52:14 UTC
2
+++ hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp
3
@@ -45,7 +45,7 @@ inline void Atomic::store_ptr(void*    store_value, vo
4
 
5
 
6
 // Adding a lock prefix to an instruction on MP machine
7
-#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; lock; 1: "
8
+#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; 1: lock "
9
 
10
 inline jint     Atomic::add    (jint     add_value, volatile jint*     dest) {
11
   jint addend = add_value;
(-)b/java/openjdk8/files/patch-hotspot_src_os__cpu_bsd__x86_vm_atomic__bsd__x86.inline.hpp (+11 lines)
Added Link Here
1
--- hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp.orig	2014-03-04 02:52:14 UTC
2
+++ hotspot/src/os_cpu/bsd_x86/vm/atomic_bsd_x86.inline.hpp
3
@@ -45,7 +45,7 @@ inline void Atomic::store_ptr(void*    store_value, vo
4
 
5
 
6
 // Adding a lock prefix to an instruction on MP machine
7
-#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; lock; 1: "
8
+#define LOCK_IF_MP(mp) "cmp $0, " #mp "; je 1f; 1: lock "
9
 
10
 inline jint     Atomic::add    (jint     add_value, volatile jint*     dest) {
11
   jint addend = add_value;

Return to bug 225054