public class org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions this
         0: .line 44
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/hotspot/replacements/ThreadSubstitutions;

  public static boolean isInterrupted(java.lang.Thread, boolean);
    descriptor: (Ljava/lang/Thread;Z)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=6, args_size=2
        start local 0 // java.lang.Thread thisObject
        start local 1 // boolean clearInterrupted
         0: .line 51
            invokestatic org.graalvm.compiler.hotspot.nodes.CurrentJavaThreadNode.get:()Lorg/graalvm/compiler/word/Word;
            astore 2 /* javaThread */
        start local 2 // org.graalvm.compiler.word.Word javaThread
         1: .line 52
            aload 2 /* javaThread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.threadObjectOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.JAVA_THREAD_THREAD_OBJECT_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readObject:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljava/lang/Object;
            astore 3 /* thread */
        start local 3 // java.lang.Object thread
         2: .line 53
            aload 0 /* thisObject */
            aload 3 /* thread */
            if_acmpne 9
         3: .line 54
            aload 2 /* javaThread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.osThreadOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            getstatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.JAVA_THREAD_OSTHREAD_LOCATION:Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readWord:(ILjdk/internal/vm/compiler/word/LocationIdentity;)Ljdk/internal/vm/compiler/word/WordBase;
            checkcast org.graalvm.compiler.word.Word
            astore 4 /* osThread */
        start local 4 // org.graalvm.compiler.word.Word osThread
         4: .line 55
            aload 4 /* osThread */
            getstatic org.graalvm.compiler.hotspot.GraalHotSpotVMConfig.INJECTED_VMCONFIG:Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;
            invokestatic org.graalvm.compiler.hotspot.replacements.HotSpotReplacementsUtil.osThreadInterruptedOffset:(Lorg/graalvm/compiler/hotspot/GraalHotSpotVMConfig;)I
            invokestatic jdk.internal.vm.compiler.word.LocationIdentity.any:()Ljdk/internal/vm/compiler/word/LocationIdentity;
            invokevirtual org.graalvm.compiler.word.Word.readInt:(ILjdk/internal/vm/compiler/word/LocationIdentity;)I
            ifeq 5
            iconst_1
            goto 6
      StackMap locals: org.graalvm.compiler.word.Word java.lang.Object org.graalvm.compiler.word.Word
      StackMap stack:
         5: iconst_0
      StackMap locals:
      StackMap stack: int
         6: istore 5 /* interrupted */
        start local 5 // boolean interrupted
         7: .line 56
            iload 5 /* interrupted */
            ifeq 8
            iload 1 /* clearInterrupted */
            ifne 9
         8: .line 57
      StackMap locals: int
      StackMap stack:
            iload 5 /* interrupted */
            ireturn
        end local 5 // boolean interrupted
        end local 4 // org.graalvm.compiler.word.Word osThread
         9: .line 60
      StackMap locals:
      StackMap stack:
            aload 0 /* thisObject */
            iload 1 /* clearInterrupted */
            invokestatic org.graalvm.compiler.hotspot.replacements.ThreadSubstitutions.isInterrupted:(Ljava/lang/Thread;Z)Z
            ireturn
        end local 3 // java.lang.Object thread
        end local 2 // org.graalvm.compiler.word.Word javaThread
        end local 1 // boolean clearInterrupted
        end local 0 // java.lang.Thread thisObject
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0   10     0        thisObject  Ljava/lang/Thread;
            0   10     1  clearInterrupted  Z
            1   10     2        javaThread  Lorg/graalvm/compiler/word/Word;
            2   10     3            thread  Ljava/lang/Object;
            4    9     4          osThread  Lorg/graalvm/compiler/word/Word;
            7    9     5       interrupted  Z
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.MethodSubstitution(isStatic = false, optional = true)
    MethodParameters:
                  Name  Flags
      thisObject        final
      clearInterrupted  
}
SourceFile: "ThreadSubstitutions.java"
    RuntimeVisibleAnnotations: 
      org.graalvm.compiler.api.replacements.ClassSubstitution(value = Ljava/lang/Thread;)