class jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter implements java.util.Spliterator<jdk.incubator.foreign.MemorySegment>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter
super_class: java.lang.Object
{
jdk.internal.foreign.AbstractMemorySegmentImpl segment;
descriptor: Ljdk/internal/foreign/AbstractMemorySegmentImpl;
flags: (0x0000)
long elemCount;
descriptor: J
flags: (0x0000)
final long elementSize;
descriptor: J
flags: (0x0010) ACC_FINAL
long currentIndex;
descriptor: J
flags: (0x0000)
void <init>(long, long, jdk.internal.foreign.AbstractMemorySegmentImpl);
descriptor: (JJLjdk/internal/foreign/AbstractMemorySegmentImpl;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 5 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 5
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.segment:Ljdk/internal/foreign/AbstractMemorySegmentImpl;
2: aload 0
lload 1
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elementSize:J
3: aload 0
lload 3
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
4: return
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/internal/foreign/AbstractMemorySegmentImpl$SegmentSplitter;
0 5 1 elementSize J
0 5 3 elemCount J
0 5 5 segment Ljdk/internal/foreign/AbstractMemorySegmentImpl;
MethodParameters:
Name Flags
elementSize
elemCount
segment
public jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter trySplit();
descriptor: ()Ljdk/internal/foreign/AbstractMemorySegmentImpl$SegmentSplitter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=11, locals=10, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
lconst_0
lcmp
ifne 9
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
lconst_1
lcmp
ifle 9
1: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.segment:Ljdk/internal/foreign/AbstractMemorySegmentImpl;
astore 1
start local 1 2: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
ldc 2
lrem
lstore 2
start local 2 3: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
ldc 2
ldiv
lstore 4
start local 4 4: lload 4
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elementSize:J
lmul
lstore 6
start local 6 5: lload 6
lload 2
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elementSize:J
lmul
ladd
lstore 8
start local 8 6: aload 0
lload 4
lload 2
ladd
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
7: aload 0
aload 1
lload 6
lload 8
invokevirtual jdk.internal.foreign.AbstractMemorySegmentImpl.asSliceNoCheck:(JJ)Ljdk/internal/foreign/AbstractMemorySegmentImpl;
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.segment:Ljdk/internal/foreign/AbstractMemorySegmentImpl;
8: new jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter
dup
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elementSize:J
lload 4
aload 1
lconst_0
lload 6
invokevirtual jdk.internal.foreign.AbstractMemorySegmentImpl.asSliceNoCheck:(JJ)Ljdk/internal/foreign/AbstractMemorySegmentImpl;
invokespecial jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.<init>:(JJLjdk/internal/foreign/AbstractMemorySegmentImpl;)V
areturn
end local 8 end local 6 end local 4 end local 2 end local 1 9: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/internal/foreign/AbstractMemorySegmentImpl$SegmentSplitter;
2 9 1 parent Ljdk/internal/foreign/AbstractMemorySegmentImpl;
3 9 2 rem J
4 9 4 split J
5 9 6 lobound J
6 9 8 hibound J
public boolean tryAdvance(java.util.function.Consumer<? super jdk.incubator.foreign.MemorySegment>);
descriptor: (Ljava/util/function/Consumer;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
lcmp
ifge 14
2: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.segment:Ljdk/internal/foreign/AbstractMemorySegmentImpl;
astore 2
start local 2 3: aload 1
aload 2
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elementSize:J
lmul
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elementSize:J
invokevirtual jdk.internal.foreign.AbstractMemorySegmentImpl.asSliceNoCheck:(JJ)Ljdk/internal/foreign/AbstractMemorySegmentImpl;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
4: goto 10
StackMap locals: jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter java.util.function.Consumer jdk.internal.foreign.AbstractMemorySegmentImpl
StackMap stack: java.lang.Throwable
5: astore 3
6: aload 0
dup
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
lconst_1
ladd
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
7: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
lcmp
ifne 9
8: aload 0
aconst_null
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.segment:Ljdk/internal/foreign/AbstractMemorySegmentImpl;
9: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
athrow
10: StackMap locals:
StackMap stack:
aload 0
dup
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
lconst_1
ladd
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
11: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
lcmp
ifne 13
12: aload 0
aconst_null
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.segment:Ljdk/internal/foreign/AbstractMemorySegmentImpl;
13: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 14: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljdk/internal/foreign/AbstractMemorySegmentImpl$SegmentSplitter;
0 15 1 action Ljava/util/function/Consumer<-Ljdk/incubator/foreign/MemorySegment;>;
3 14 2 acquired Ljdk/internal/foreign/AbstractMemorySegmentImpl;
Exception table:
from to target type
3 5 5 any
Signature: (Ljava/util/function/Consumer<-Ljdk/incubator/foreign/MemorySegment;>;)Z
MethodParameters:
Name Flags
action
public void forEachRemaining(java.util.function.Consumer<? super jdk.incubator.foreign.MemorySegment>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
lcmp
ifge 24
2: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.segment:Ljdk/internal/foreign/AbstractMemorySegmentImpl;
astore 2
start local 2 3: aload 2
invokevirtual jdk.internal.foreign.AbstractMemorySegmentImpl.isSmall:()Z
ifeq 12
4: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
l2i
istore 3
start local 3 5: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
l2i
istore 4
start local 4 6: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elementSize:J
l2i
istore 5
start local 5 7: goto 10
8: StackMap locals: jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter java.util.function.Consumer jdk.internal.foreign.AbstractMemorySegmentImpl int int int
StackMap stack:
aload 1
aload 2
iload 3
iload 5
imul
i2l
iload 5
i2l
invokevirtual jdk.internal.foreign.AbstractMemorySegmentImpl.asSliceNoCheck:(JJ)Ljdk/internal/foreign/AbstractMemorySegmentImpl;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmplt 8
end local 5 end local 4 end local 3 11: goto 22
12: StackMap locals:
StackMap stack:
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
lstore 3
start local 3 13: goto 16
14: StackMap locals: long
StackMap stack:
aload 1
aload 2
lload 3
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elementSize:J
lmul
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elementSize:J
invokevirtual jdk.internal.foreign.AbstractMemorySegmentImpl.asSliceNoCheck:(JJ)Ljdk/internal/foreign/AbstractMemorySegmentImpl;
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
15: lload 3
lconst_1
ladd
lstore 3
StackMap locals:
StackMap stack:
16: lload 3
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
lcmp
iflt 14
end local 3 17: goto 22
StackMap locals: jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter java.util.function.Consumer jdk.internal.foreign.AbstractMemorySegmentImpl
StackMap stack: java.lang.Throwable
18: astore 6
19: aload 0
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
20: aload 0
aconst_null
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.segment:Ljdk/internal/foreign/AbstractMemorySegmentImpl;
21: aload 6
athrow
22: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.currentIndex:J
23: aload 0
aconst_null
putfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.segment:Ljdk/internal/foreign/AbstractMemorySegmentImpl;
end local 2 24: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/internal/foreign/AbstractMemorySegmentImpl$SegmentSplitter;
0 25 1 action Ljava/util/function/Consumer<-Ljdk/incubator/foreign/MemorySegment;>;
3 24 2 acquired Ljdk/internal/foreign/AbstractMemorySegmentImpl;
5 11 3 index I
6 11 4 limit I
7 11 5 elemSize I
13 17 3 i J
Exception table:
from to target type
3 18 18 any
Signature: (Ljava/util/function/Consumer<-Ljdk/incubator/foreign/MemorySegment;>;)V
MethodParameters:
Name Flags
action
public long estimateSize();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.elemCount:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/AbstractMemorySegmentImpl$SegmentSplitter;
public int characteristics();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: sipush 17744
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/internal/foreign/AbstractMemorySegmentImpl$SegmentSplitter;
public java.util.Spliterator trySplit();
descriptor: ()Ljava/util/Spliterator;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter.trySplit:()Ljdk/internal/foreign/AbstractMemorySegmentImpl$SegmentSplitter;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Spliterator<Ljdk/incubator/foreign/MemorySegment;>;
SourceFile: "AbstractMemorySegmentImpl.java"
NestHost: jdk.internal.foreign.AbstractMemorySegmentImpl
InnerClasses:
SegmentSplitter = jdk.internal.foreign.AbstractMemorySegmentImpl$SegmentSplitter of jdk.internal.foreign.AbstractMemorySegmentImpl