Added
Link Here
|
1 |
--- hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp.orig 2021-04-26 16:05:58 UTC |
2 |
+++ hotspot/src/os_cpu/bsd_zero/vm/os_bsd_zero.cpp |
3 |
@@ -446,21 +446,6 @@ extern "C" { |
4 |
} |
5 |
}; |
6 |
|
7 |
-///////////////////////////////////////////////////////////////////////////// |
8 |
-// Implementations of atomic operations not supported by processors. |
9 |
-// -- http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Atomic-Builtins.html |
10 |
- |
11 |
-#ifndef _LP64 |
12 |
-extern "C" { |
13 |
- long long unsigned int __sync_val_compare_and_swap_8( |
14 |
- volatile void *ptr, |
15 |
- long long unsigned int oldval, |
16 |
- long long unsigned int newval) { |
17 |
- ShouldNotCallThis(); |
18 |
- return 0; // silence compiler warnings |
19 |
- } |
20 |
-}; |
21 |
-#endif // !_LP64 |
22 |
|
23 |
#ifndef PRODUCT |
24 |
void os::verify_stack_alignment() { |