Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
8-shenandoah, 11-shenandoah, 14
-
b20
Description
Current ShenandoahHeap::cas_oop routines perform CASes on given address, hoping the hardware would handle it properly. In most cases, this is guaranteed by callers who pass aligned addresses to it. However, we should assert this directly, to catch bugs. This would fail the asserts with proper message rather than obscure SIGBUS on some platforms like AArch64.
Attachments
Issue Links
- relates to
-
JDK-8232712 Shenandoah: SIGBUS in load_reference_barrier_native
- Resolved
-
JDK-8232730 Shenandoah: Traversal should not CAS the roots
- Resolved