Skip to content

Commit

Permalink
8288719: [arm32] SafeFetch32 thumb interleaving causes random crashes
Browse files Browse the repository at this point in the history
8284997: arm32 build crashes since JDK-8283326

Reviewed-by: snazarki, xliu, lucy
  • Loading branch information
tstuefe committed Jun 23, 2022
1 parent a802b98 commit 26c03c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/hotspot/os_cpu/linux_arm/safefetch_linux_arm.S
Expand Up @@ -26,6 +26,7 @@
.globl SafeFetch32_impl
.globl _SafeFetch32_fault
.globl _SafeFetch32_continuation
.type SafeFetch32_impl, %function

# Support for int SafeFetch32(int* address, int defaultval);
#
Expand Down
3 changes: 1 addition & 2 deletions src/hotspot/share/runtime/safefetch.hpp
Expand Up @@ -34,11 +34,10 @@
#ifdef _WIN32
// Windows uses Structured Exception Handling
#include "safefetch_windows.hpp"
#elif defined(ZERO) || defined (_AIX) || defined (ARM32)
#elif defined(ZERO) || defined (_AIX)
// These platforms implement safefetch via Posix sigsetjmp/longjmp.
// This is slower than the other methods and uses more thread stack,
// but its safe and portable.
// (arm32 uses sigsetjmp/longjmp as long as JDK-8284997 is not solved)
#include "safefetch_sigjmp.hpp"
#define SAFEFETCH_METHOD_SIGSETJMP
#else
Expand Down

1 comment on commit 26c03c1

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.