448 449 ///////////////////////////////////////////////////////////////////////////// 450 // Implementations of atomic operations not supported by processors. 451 // -- http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Atomic-Builtins.html 452 453 #ifndef _LP64 454 extern "C" { 455 long long unsigned int __sync_val_compare_and_swap_8( 456 volatile void *ptr, 457 long long unsigned int oldval, 458 long long unsigned int newval) { 459 ShouldNotCallThis(); 460 } 461 }; 462 #endif // !_LP64 463 464 #ifndef PRODUCT 465 void os::verify_stack_alignment() { 466 } 467 #endif | 448 449 ///////////////////////////////////////////////////////////////////////////// 450 // Implementations of atomic operations not supported by processors. 451 // -- http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Atomic-Builtins.html 452 453 #ifndef _LP64 454 extern "C" { 455 long long unsigned int __sync_val_compare_and_swap_8( 456 volatile void *ptr, 457 long long unsigned int oldval, 458 long long unsigned int newval) { 459 ShouldNotCallThis(); 460 } 461 }; 462 #endif // !_LP64 463 464 #ifndef PRODUCT 465 void os::verify_stack_alignment() { 466 } 467 #endif 468 469 int os::extra_bang_size_in_bytes() { 470 // Zero does not require an additional stack bang. 471 return 0; 472 } |