mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8197454: Need Access decorator for storing oop into uninitialized location
Repurpose ARRAYCOPY_DEST_NOT_INITIALIZED to AS_DEST_NOT_INITIALIZED. Reviewed-by: eosterlund, coleenp
This commit is contained in:
parent
eb3ec99500
commit
023fc4b866
5 changed files with 28 additions and 27 deletions
|
@ -1060,6 +1060,7 @@ void Access<decorators>::verify_decorators() {
|
|||
const DecoratorSet barrier_strength_decorators = decorators & AS_DECORATOR_MASK;
|
||||
STATIC_ASSERT(barrier_strength_decorators == 0 || ( // make sure barrier strength decorators are disjoint if set
|
||||
(barrier_strength_decorators ^ AS_NO_KEEPALIVE) == 0 ||
|
||||
(barrier_strength_decorators ^ AS_DEST_NOT_INITIALIZED) == 0 ||
|
||||
(barrier_strength_decorators ^ AS_RAW) == 0 ||
|
||||
(barrier_strength_decorators ^ AS_NORMAL) == 0
|
||||
));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue