Top Fields Constructors Methods
java.lang.invoke

pack-priv final Class VarHandleSegmentAsFloats

extends VarHandleSegmentViewBase
Class Inheritance
Imports
jdk.internal.foreign.AbstractMemorySegmentImpl, jdk.internal.misc.ScopedMemoryAccess, jdk.internal.vm.annotation.ForceInline, java.lang.foreign.MemorySegment, java.lang.ref.Reference, java.util.Objects

Field Summary

Modifier and TypeField and Description
pack-priv static final boolean
pack-priv static final VarForm
pack-priv static final int
pack-priv static final ScopedMemoryAccess
Inherited from java.lang.invoke.VarHandleSegmentViewBase:
alignmentMaskbe

Constructor Summary

AccessConstructor and Description
pack-priv
VarHandleSegmentAsFloats(boolean be, long alignmentMask, boolean exact)

Method Summary

Modifier and TypeMethod and Description
pack-priv final MethodType
pack-priv static AbstractMemorySegmentImpl
checkReadOnly(Object obb, boolean ro)

pack-priv static float
compareAndExchange(VarHandle ob, Object obb, long base, float expected, float value)

pack-priv static float
compareAndExchangeAcquire(VarHandle ob, Object obb, long base, float expected, float value)

pack-priv static float
compareAndExchangeRelease(VarHandle ob, Object obb, long base, float expected, float value)

pack-priv static boolean
compareAndSet(VarHandle ob, Object obb, long base, float expected, float value)

pack-priv static int
convEndian(boolean big, float v)

pack-priv static float
convEndian(boolean big, int rv)

pack-priv static float
get(VarHandle ob, Object obb, long base)

pack-priv static float
getAcquire(VarHandle ob, Object obb, long base)

pack-priv static float
getAndSet(VarHandle ob, Object obb, long base, float value)

pack-priv static float
getAndSetAcquire(VarHandle ob, Object obb, long base, float value)

pack-priv static float
getAndSetRelease(VarHandle ob, Object obb, long base, float value)

pack-priv static float
getOpaque(VarHandle ob, Object obb, long base)

pack-priv static float
getVolatile(VarHandle ob, Object obb, long base)

pack-priv static long
offsetNonPlain(AbstractMemorySegmentImpl bb, long offset, long alignmentMask)

pack-priv static long
pack-priv static void
set(VarHandle ob, Object obb, long base, float value)

pack-priv static void
setOpaque(VarHandle ob, Object obb, long base, float value)

pack-priv static void
setRelease(VarHandle ob, Object obb, long base, float value)

pack-priv static void
setVolatile(VarHandle ob, Object obb, long base, float value)

pack-priv static boolean
weakCompareAndSet(VarHandle ob, Object obb, long base, float expected, float value)

pack-priv static boolean
weakCompareAndSetAcquire(VarHandle ob, Object obb, long base, float expected, float value)

pack-priv static boolean
weakCompareAndSetPlain(VarHandle ob, Object obb, long base, float expected, float value)

pack-priv static boolean
weakCompareAndSetRelease(VarHandle ob, Object obb, long base, float expected, float value)

public VarHandleSegmentAsFloats
withInvokeBehavior()

Implements abstract java.lang.invoke.VarHandle.withInvokeBehavior.

Returns a VarHandle, with access to the same variable(s) as this VarHandle, but whose invocation behavior of access mode methods is adjusted to invoke behavior.

public VarHandleSegmentAsFloats
withInvokeExactBehavior()

Implements abstract java.lang.invoke.VarHandle.withInvokeExactBehavior.

Returns a VarHandle, with access to the same variable(s) as this VarHandle, but whose invocation behavior of access mode methods is adjusted to invoke-exact behavior.

Inherited from java.lang.invoke.VarHandleSegmentViewBase:
newUnsupportedAccessModeForAlignment

Field Detail

BEback to summary
pack-priv static final boolean BE
FORMback to summary
pack-priv static final VarForm FORM
NON_PLAIN_ACCESS_MIN_ALIGN_MASKback to summary
pack-priv static final int NON_PLAIN_ACCESS_MIN_ALIGN_MASK
SCOPED_MEMORY_ACCESSback to summary
pack-priv static final ScopedMemoryAccess SCOPED_MEMORY_ACCESS

Constructor Detail

VarHandleSegmentAsFloatsback to summary
pack-priv VarHandleSegmentAsFloats(boolean be, long alignmentMask, boolean exact)

Method Detail

accessModeTypeUncachedback to summary
pack-priv final MethodType accessModeTypeUncached(VarHandle.AccessType accessType)

Implements abstract java.lang.invoke.VarHandle.accessModeTypeUncached.

Annotations
@Override
checkReadOnlyback to summary
pack-priv static AbstractMemorySegmentImpl checkReadOnly(Object obb, boolean ro)
Annotations
@ForceInline
compareAndExchangeback to summary
pack-priv static float compareAndExchange(VarHandle ob, Object obb, long base, float expected, float value)
Annotations
@ForceInline
compareAndExchangeAcquireback to summary
pack-priv static float compareAndExchangeAcquire(VarHandle ob, Object obb, long base, float expected, float value)
Annotations
@ForceInline
compareAndExchangeReleaseback to summary
pack-priv static float compareAndExchangeRelease(VarHandle ob, Object obb, long base, float expected, float value)
Annotations
@ForceInline
compareAndSetback to summary
pack-priv static boolean compareAndSet(VarHandle ob, Object obb, long base, float expected, float value)
Annotations
@ForceInline
convEndianback to summary
pack-priv static int convEndian(boolean big, float v)
Annotations
@ForceInline
convEndianback to summary
pack-priv static float convEndian(boolean big, int rv)
Annotations
@ForceInline
getback to summary
pack-priv static float get(VarHandle ob, Object obb, long base)
Annotations
@ForceInline
getAcquireback to summary
pack-priv static float getAcquire(VarHandle ob, Object obb, long base)
Annotations
@ForceInline
getAndSetback to summary
pack-priv static float getAndSet(VarHandle ob, Object obb, long base, float value)
Annotations
@ForceInline
getAndSetAcquireback to summary
pack-priv static float getAndSetAcquire(VarHandle ob, Object obb, long base, float value)
Annotations
@ForceInline
getAndSetReleaseback to summary
pack-priv static float getAndSetRelease(VarHandle ob, Object obb, long base, float value)
Annotations
@ForceInline
getOpaqueback to summary
pack-priv static float getOpaque(VarHandle ob, Object obb, long base)
Annotations
@ForceInline
getVolatileback to summary
pack-priv static float getVolatile(VarHandle ob, Object obb, long base)
Annotations
@ForceInline
offsetNonPlainback to summary
pack-priv static long offsetNonPlain(AbstractMemorySegmentImpl bb, long offset, long alignmentMask)
Annotations
@ForceInline
offsetPlainback to summary
pack-priv static long offsetPlain(AbstractMemorySegmentImpl bb, long offset)
Annotations
@ForceInline
setback to summary
pack-priv static void set(VarHandle ob, Object obb, long base, float value)
Annotations
@ForceInline
setOpaqueback to summary
pack-priv static void setOpaque(VarHandle ob, Object obb, long base, float value)
Annotations
@ForceInline
setReleaseback to summary
pack-priv static void setRelease(VarHandle ob, Object obb, long base, float value)
Annotations
@ForceInline
setVolatileback to summary
pack-priv static void setVolatile(VarHandle ob, Object obb, long base, float value)
Annotations
@ForceInline
weakCompareAndSetback to summary
pack-priv static boolean weakCompareAndSet(VarHandle ob, Object obb, long base, float expected, float value)
Annotations
@ForceInline
weakCompareAndSetAcquireback to summary
pack-priv static boolean weakCompareAndSetAcquire(VarHandle ob, Object obb, long base, float expected, float value)
Annotations
@ForceInline
weakCompareAndSetPlainback to summary
pack-priv static boolean weakCompareAndSetPlain(VarHandle ob, Object obb, long base, float expected, float value)
Annotations
@ForceInline
weakCompareAndSetReleaseback to summary
pack-priv static boolean weakCompareAndSetRelease(VarHandle ob, Object obb, long base, float expected, float value)
Annotations
@ForceInline
withInvokeBehaviorback to summary
public VarHandleSegmentAsFloats withInvokeBehavior()

Implements abstract java.lang.invoke.VarHandle.withInvokeBehavior.

Doc from java.lang.invoke.VarHandle.withInvokeBehavior.

Returns a VarHandle, with access to the same variable(s) as this VarHandle, but whose invocation behavior of access mode methods is adjusted to invoke behavior.

If this VarHandle already has invoke behavior this VarHandle is returned.

Invoking hasInvokeExactBehavior() on the returned var handle is guaranteed to return false.

Returns:VarHandleSegmentAsFloats

a VarHandle with invoke behavior

Annotations
@Override
withInvokeExactBehaviorback to summary
public VarHandleSegmentAsFloats withInvokeExactBehavior()

Implements abstract java.lang.invoke.VarHandle.withInvokeExactBehavior.

Doc from java.lang.invoke.VarHandle.withInvokeExactBehavior.

Returns a VarHandle, with access to the same variable(s) as this VarHandle, but whose invocation behavior of access mode methods is adjusted to invoke-exact behavior.

If this VarHandle already has invoke-exact behavior this VarHandle is returned.

Invoking hasInvokeExactBehavior() on the returned var handle is guaranteed to return true.

Returns:VarHandleSegmentAsFloats

a VarHandle with invoke-exact behavior

Annotations
@Override