8352914: Shenandoah: Change definition of ShenandoahSharedValue to int32_t to leverage platform atomics

Reviewed-by: wkemper, ysr
This commit is contained in:
Ben Taylor 2025-12-09 00:17:30 +00:00 committed by Y. Srinivas Ramakrishna
parent 8df3f3d341
commit b86b2cbc7d

View File

@ -29,11 +29,7 @@
#include "memory/allocation.hpp"
#include "runtime/atomicAccess.hpp"
typedef jbyte ShenandoahSharedValue;
// Needed for cooperation with generated code.
STATIC_ASSERT(sizeof(ShenandoahSharedValue) == 1);
typedef int32_t ShenandoahSharedValue;
typedef struct ShenandoahSharedFlag {
enum {
UNSET = 0,