public class org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp extends org.graalvm.compiler.hotspot.HotSpotCounterOp
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp
super_class: org.graalvm.compiler.hotspot.HotSpotCounterOp
{
public static final org.graalvm.compiler.lir.LIRInstructionClass<org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp> TYPE;
descriptor: Lorg/graalvm/compiler/lir/LIRInstructionClass;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Lorg/graalvm/compiler/lir/LIRInstructionClass<Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp;>;
private int[] counterPatchOffsets;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp;
invokestatic org.graalvm.compiler.lir.LIRInstructionClass.create:(Ljava/lang/Class;)Lorg/graalvm/compiler/lir/LIRInstructionClass;
putstatic org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String, java.lang.String, jdk.vm.ci.meta.Value, org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider, org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getstatic org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial org.graalvm.compiler.hotspot.HotSpotCounterOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;Ljava/lang/String;Ljava/lang/String;Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
1: aload 0
iconst_1
newarray 10
putfield org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.counterPatchOffsets:[I
2: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp;
0 3 1 name Ljava/lang/String;
0 3 2 group Ljava/lang/String;
0 3 3 increment Ljdk/vm/ci/meta/Value;
0 3 4 registers Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
0 3 5 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
MethodParameters:
Name Flags
name
group
increment
registers
config
public void <init>(java.lang.String[], java.lang.String[], jdk.vm.ci.meta.Value[], org.graalvm.compiler.hotspot.meta.HotSpotRegistersProvider, org.graalvm.compiler.hotspot.GraalHotSpotVMConfig);
descriptor: ([Ljava/lang/String;[Ljava/lang/String;[Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getstatic org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.TYPE:Lorg/graalvm/compiler/lir/LIRInstructionClass;
aload 1
aload 2
aload 3
aload 4
aload 5
invokespecial org.graalvm.compiler.hotspot.HotSpotCounterOp.<init>:(Lorg/graalvm/compiler/lir/LIRInstructionClass;[Ljava/lang/String;[Ljava/lang/String;[Ljdk/vm/ci/meta/Value;Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)V
1: aload 0
aload 1
arraylength
newarray 10
putfield org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.counterPatchOffsets:[I
2: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp;
0 3 1 names [Ljava/lang/String;
0 3 2 groups [Ljava/lang/String;
0 3 3 increments [Ljdk/vm/ci/meta/Value;
0 3 4 registers Lorg/graalvm/compiler/hotspot/meta/HotSpotRegistersProvider;
0 3 5 config Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
MethodParameters:
Name Flags
names
groups
increments
registers
config
public void emitCode(org.graalvm.compiler.lir.asm.CompilationResultBuilder);
descriptor: (Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aload 1
getfield org.graalvm.compiler.lir.asm.CompilationResultBuilder.asm:Lorg/graalvm/compiler/asm/Assembler;
checkcast org.graalvm.compiler.asm.sparc.SPARCMacroAssembler
astore 2
start local 2 1: aload 1
getfield org.graalvm.compiler.lir.asm.CompilationResultBuilder.target:Ljdk/vm/ci/code/TargetDescription;
astore 3
start local 3 2: new org.graalvm.compiler.asm.sparc.SPARCAddress
dup
aload 0
getfield org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.thread:Ljdk/vm/ci/code/Register;
aload 0
getfield org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.config:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
getfield org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.jvmciCountersThreadOffset:I
invokespecial org.graalvm.compiler.asm.sparc.SPARCAddress.<init>:(Ljdk/vm/ci/code/Register;I)V
astore 4
start local 4 3: aconst_null
astore 5
aconst_null
astore 6
4: aload 2
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler.getScratchRegister:()Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler$ScratchRegister;
astore 7
start local 7 5: aload 7
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister.getRegister:()Ljdk/vm/ci/code/Register;
astore 8
start local 8 6: aload 2
aload 4
aload 8
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler.ldx:(Lorg/graalvm/compiler/asm/sparc/SPARCAddress;Ljdk/vm/ci/code/Register;)V
7: new org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp$IncrementEmitter
dup
aload 0
aload 8
aload 2
invokespecial org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp$IncrementEmitter.<init>:(Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp;Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler;)V
astore 9
start local 9 8: aload 0
aload 9
aload 3
invokevirtual org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.forEachCounter:(Lorg/graalvm/compiler/hotspot/HotSpotCounterOp$CounterProcedure;Ljdk/vm/ci/code/TargetDescription;)V
end local 9 end local 8 9: aload 7
ifnull 15
aload 7
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister.close:()V
goto 15
StackMap locals: org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp org.graalvm.compiler.lir.asm.CompilationResultBuilder org.graalvm.compiler.asm.sparc.SPARCMacroAssembler jdk.vm.ci.code.TargetDescription org.graalvm.compiler.asm.sparc.SPARCAddress java.lang.Throwable java.lang.Throwable org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister
StackMap stack: java.lang.Throwable
10: astore 5
aload 7
ifnull 11
aload 7
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister.close:()V
end local 7 StackMap locals:
StackMap stack:
11: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
12: astore 6
aload 5
ifnonnull 13
aload 6
astore 5
goto 14
StackMap locals:
StackMap stack:
13: aload 5
aload 6
if_acmpeq 14
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
14: aload 5
athrow
15: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp;
0 16 1 crb Lorg/graalvm/compiler/lir/asm/CompilationResultBuilder;
1 16 2 masm Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler;
2 16 3 target Ljdk/vm/ci/code/TargetDescription;
3 16 4 countersArrayAddr Lorg/graalvm/compiler/asm/sparc/SPARCAddress;
5 11 7 scratch Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler$ScratchRegister;
6 9 8 countersArrayReg Ljdk/vm/ci/code/Register;
8 9 9 emitter Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp$IncrementEmitter;
Exception table:
from to target type
5 9 10 any
4 12 12 any
MethodParameters:
Name Flags
crb
private void emitIncrement(int, org.graalvm.compiler.asm.sparc.SPARCMacroAssembler, org.graalvm.compiler.asm.sparc.SPARCAddress, jdk.vm.ci.meta.Value);
descriptor: (ILorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler;Lorg/graalvm/compiler/asm/sparc/SPARCAddress;Ljdk/vm/ci/meta/Value;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aconst_null
astore 5
aconst_null
astore 6
1: aload 2
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler.getScratchRegister:()Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler$ScratchRegister;
astore 7
start local 7 2: aload 7
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister.getRegister:()Ljdk/vm/ci/code/Register;
astore 8
start local 8 3: aload 2
aload 3
aload 8
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler.ldx:(Lorg/graalvm/compiler/asm/sparc/SPARCAddress;Ljdk/vm/ci/code/Register;)V
4: aload 0
getfield org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.counterPatchOffsets:[I
iload 1
aload 2
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler.position:()I
iastore
5: aload 4
invokestatic org.graalvm.compiler.lir.LIRValueUtil.isJavaConstant:(Ljdk/vm/ci/meta/Value;)Z
ifeq 8
6: aload 2
aload 8
aload 4
invokestatic org.graalvm.compiler.lir.LIRValueUtil.asJavaConstant:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/meta/JavaConstant;
invokestatic org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.asInt:(Ljdk/vm/ci/meta/JavaConstant;)I
aload 8
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler.add:(Ljdk/vm/ci/code/Register;ILjdk/vm/ci/code/Register;)V
7: goto 9
8: StackMap locals: org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp int org.graalvm.compiler.asm.sparc.SPARCMacroAssembler org.graalvm.compiler.asm.sparc.SPARCAddress jdk.vm.ci.meta.Value java.lang.Throwable java.lang.Throwable org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister jdk.vm.ci.code.Register
StackMap stack:
aload 2
aload 8
aload 4
invokestatic jdk.vm.ci.code.ValueUtil.asRegister:(Ljdk/vm/ci/meta/Value;)Ljdk/vm/ci/code/Register;
aload 8
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler.add:(Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;Ljdk/vm/ci/code/Register;)V
9: StackMap locals:
StackMap stack:
aload 2
aload 8
aload 3
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler.stx:(Ljdk/vm/ci/code/Register;Lorg/graalvm/compiler/asm/sparc/SPARCAddress;)V
end local 8 10: aload 7
ifnull 16
aload 7
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister.close:()V
goto 16
StackMap locals: org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp int org.graalvm.compiler.asm.sparc.SPARCMacroAssembler org.graalvm.compiler.asm.sparc.SPARCAddress jdk.vm.ci.meta.Value java.lang.Throwable java.lang.Throwable org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister
StackMap stack: java.lang.Throwable
11: astore 5
aload 7
ifnull 12
aload 7
invokevirtual org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister.close:()V
end local 7 StackMap locals:
StackMap stack:
12: aload 5
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 6
aload 5
ifnonnull 14
aload 6
astore 5
goto 15
StackMap locals:
StackMap stack:
14: aload 5
aload 6
if_acmpeq 15
aload 5
aload 6
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
15: aload 5
athrow
16: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp;
0 17 1 counterIndex I
0 17 2 masm Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler;
0 17 3 counterAddr Lorg/graalvm/compiler/asm/sparc/SPARCAddress;
0 17 4 increment Ljdk/vm/ci/meta/Value;
2 12 7 scratch Lorg/graalvm/compiler/asm/sparc/SPARCMacroAssembler$ScratchRegister;
3 10 8 counterReg Ljdk/vm/ci/code/Register;
Exception table:
from to target type
2 10 11 any
1 13 13 any
MethodParameters:
Name Flags
counterIndex
masm
counterAddr
increment
public void patchCounterIncrement(org.graalvm.compiler.asm.Assembler, int[]);
descriptor: (Lorg/graalvm/compiler/asm/Assembler;[I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.counterPatchOffsets:[I
iload 3
iaload
istore 4
start local 4 3: aload 1
checkcast org.graalvm.compiler.asm.sparc.SPARCAssembler
iload 4
aload 2
iload 3
iaload
invokevirtual org.graalvm.compiler.asm.sparc.SPARCAssembler.patchAddImmediate:(II)V
end local 4 4: iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
aload 2
arraylength
if_icmplt 2
end local 3 6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp;
0 7 1 asm Lorg/graalvm/compiler/asm/Assembler;
0 7 2 increment [I
1 6 3 i I
3 4 4 inst I
MethodParameters:
Name Flags
asm
increment
public int[] getCounterPatchOffsets();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp.counterPatchOffsets:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/hotspot/sparc/SPARCHotSpotCounterOp;
}
SourceFile: "SPARCHotSpotCounterOp.java"
NestMembers:
org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp$IncrementEmitter
InnerClasses:
public ScratchRegister = org.graalvm.compiler.asm.sparc.SPARCMacroAssembler$ScratchRegister of org.graalvm.compiler.asm.sparc.SPARCMacroAssembler
protected abstract CounterProcedure = org.graalvm.compiler.hotspot.HotSpotCounterOp$CounterProcedure of org.graalvm.compiler.hotspot.HotSpotCounterOp
private IncrementEmitter = org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp$IncrementEmitter of org.graalvm.compiler.hotspot.sparc.SPARCHotSpotCounterOp
RuntimeVisibleAnnotations:
org.graalvm.compiler.lir.Opcode(value = "BenchMarkCounter")