mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8352914: Shenandoah: Change definition of ShenandoahSharedValue to int32_t to leverage platform atomics
Reviewed-by: wkemper, ysr
This commit is contained in:
parent
8df3f3d341
commit
b86b2cbc7d
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user