@Retention(value=RUNTIME) @Target(value=METHOD) public @interface UniqueLocationIdentity
CField
also annotated with this annotation gets a unique LocationIdentity
assigned, i.e., reads and writes do not interfere with reads and writes to any other field and
are optimized without regarding other fields. The user has to ensure that the field is not
accessed using any other location identity, e.g., it is not valid to access a field using methods
in Pointer
.
It is not possible to influence which LocationIdentity
is used, or to query the
LocationIdentity
. If you need a field access with a particular LocationIdentity
,
do not use this annotation. Instead, add a LocationIdentity
as the last parameter to the
accessor methods.