public final class jdk.incubator.foreign.MappedMemorySegments
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.incubator.foreign.MappedMemorySegments
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/foreign/MappedMemorySegments;
public static boolean isLoaded(jdk.incubator.foreign.MemorySegment);
descriptor: (Ljdk/incubator/foreign/MemorySegment;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.incubator.foreign.MappedMemorySegments.toMappedSegment:(Ljdk/incubator/foreign/MemorySegment;)Ljdk/internal/foreign/MappedMemorySegmentImpl;
invokevirtual jdk.internal.foreign.MappedMemorySegmentImpl.isLoaded:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 segment Ljdk/incubator/foreign/MemorySegment;
MethodParameters:
Name Flags
segment
public static void load(jdk.incubator.foreign.MemorySegment);
descriptor: (Ljdk/incubator/foreign/MemorySegment;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.incubator.foreign.MappedMemorySegments.toMappedSegment:(Ljdk/incubator/foreign/MemorySegment;)Ljdk/internal/foreign/MappedMemorySegmentImpl;
invokevirtual jdk.internal.foreign.MappedMemorySegmentImpl.load:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 segment Ljdk/incubator/foreign/MemorySegment;
MethodParameters:
Name Flags
segment
public static void unload(jdk.incubator.foreign.MemorySegment);
descriptor: (Ljdk/incubator/foreign/MemorySegment;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.incubator.foreign.MappedMemorySegments.toMappedSegment:(Ljdk/incubator/foreign/MemorySegment;)Ljdk/internal/foreign/MappedMemorySegmentImpl;
invokevirtual jdk.internal.foreign.MappedMemorySegmentImpl.unload:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 segment Ljdk/incubator/foreign/MemorySegment;
MethodParameters:
Name Flags
segment
public static void force(jdk.incubator.foreign.MemorySegment);
descriptor: (Ljdk/incubator/foreign/MemorySegment;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.incubator.foreign.MappedMemorySegments.toMappedSegment:(Ljdk/incubator/foreign/MemorySegment;)Ljdk/internal/foreign/MappedMemorySegmentImpl;
invokevirtual jdk.internal.foreign.MappedMemorySegmentImpl.force:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 segment Ljdk/incubator/foreign/MemorySegment;
MethodParameters:
Name Flags
segment
static jdk.internal.foreign.MappedMemorySegmentImpl toMappedSegment(jdk.incubator.foreign.MemorySegment);
descriptor: (Ljdk/incubator/foreign/MemorySegment;)Ljdk/internal/foreign/MappedMemorySegmentImpl;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
instanceof jdk.internal.foreign.MappedMemorySegmentImpl
ifeq 3
2: aload 0
checkcast jdk.internal.foreign.MappedMemorySegmentImpl
areturn
3: StackMap locals:
StackMap stack:
new java.lang.UnsupportedOperationException
dup
ldc "Not a mapped memory segment"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 segment Ljdk/incubator/foreign/MemorySegment;
MethodParameters:
Name Flags
segment
}
SourceFile: "MappedMemorySegments.java"