descriptor

abstract fun descriptor(): AbstractDescriptor

Retrieve the object's {@linkplain AbstractDescriptor descriptor}.

When Avail moves off the JVM for its object storage, this read will be volatile only for objects in shared space. A non-volatile read is sufficient to get a descriptor which can then be checked to see if it's one that is allowed in shared space, and if so, a second volatile read can be performed.

Return

A descriptor.