Top Fields Constructors Methods
java.lang.invoke

pack-priv final Class VarHandleSegmentAsDoubles

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
VarHandleSegmentAsDoubles(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 double
compareAndExchange(VarHandle ob, Object obb, long base, double expected, double value)

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

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

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

pack-priv static long
convEndian(boolean big, double v)

pack-priv static double
convEndian(boolean big, long rv)

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

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

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

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

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

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

pack-priv static double
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, double value)

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

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

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

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

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

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

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

public VarHandleSegmentAsDoubles
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 VarHandleSegmentAsDoubles
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

VarHandleSegmentAsDoublesback to summary
pack-priv VarHandleSegmentAsDoubles(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 double compareAndExchange(VarHandle ob, Object obb, long base, double expected, double value)
Annotations
@ForceInline
compareAndExchangeAcquireback to summary
pack-priv static double compareAndExchangeAcquire(VarHandle ob, Object obb, long base, double expected, double value)
Annotations
@ForceInline
compareAndExchangeReleaseback to summary
pack-priv static double compareAndExchangeRelease(VarHandle ob, Object obb, long base, double expected, double value)
Annotations
@ForceInline
compareAndSetback to summary
pack-priv static boolean compareAndSet(VarHandle ob, Object obb, long base, double expected, double value)
Annotations
@ForceInline
convEndianback to summary
pack-priv static long convEndian(boolean big, double v)
Annotations
@ForceInline
convEndianback to summary
pack-priv static double convEndian(boolean big, long rv)
Annotations
@ForceInline
getback to summary
pack-priv static double get(VarHandle ob, Object obb, long base)
Annotations
@ForceInline
getAcquireback to summary
pack-priv static double getAcquire(VarHandle ob, Object obb, long base)
Annotations
@ForceInline
getAndSetback to summary
pack-priv static double getAndSet(VarHandle ob, Object obb, long base, double value)
Annotations
@ForceInline
getAndSetAcquireback to summary
pack-priv static double getAndSetAcquire(VarHandle ob, Object obb, long base, double value)
Annotations
@ForceInline
getAndSetReleaseback to summary
pack-priv static double getAndSetRelease(VarHandle ob, Object obb, long base, double value)
Annotations
@ForceInline
getOpaqueback to summary
pack-priv static double getOpaque(VarHandle ob, Object obb, long base)
Annotations
@ForceInline
getVolatileback to summary
pack-priv static double 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, double value)
Annotations
@ForceInline
setOpaqueback to summary
pack-priv static void setOpaque(VarHandle ob, Object obb, long base, double value)
Annotations
@ForceInline
setReleaseback to summary
pack-priv static void setRelease(VarHandle ob, Object obb, long base, double value)
Annotations
@ForceInline
setVolatileback to summary
pack-priv static void setVolatile(VarHandle ob, Object obb, long base, double value)
Annotations
@ForceInline
weakCompareAndSetback to summary
pack-priv static boolean weakCompareAndSet(VarHandle ob, Object obb, long base, double expected, double value)
Annotations
@ForceInline
weakCompareAndSetAcquireback to summary
pack-priv static boolean weakCompareAndSetAcquire(VarHandle ob, Object obb, long base, double expected, double value)
Annotations
@ForceInline
weakCompareAndSetPlainback to summary
pack-priv static boolean weakCompareAndSetPlain(VarHandle ob, Object obb, long base, double expected, double value)
Annotations
@ForceInline
weakCompareAndSetReleaseback to summary
pack-priv static boolean weakCompareAndSetRelease(VarHandle ob, Object obb, long base, double expected, double value)
Annotations
@ForceInline
withInvokeBehaviorback to summary
public VarHandleSegmentAsDoubles 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:VarHandleSegmentAsDoubles

a VarHandle with invoke behavior

Annotations
@Override
withInvokeExactBehaviorback to summary
public VarHandleSegmentAsDoubles 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:VarHandleSegmentAsDoubles

a VarHandle with invoke-exact behavior

Annotations
@Override