final class com.oracle.svm.core.windows.WindowsVMLockFeature implements org.graalvm.nativeimage.hosted.Feature
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: com.oracle.svm.core.windows.WindowsVMLockFeature
  super_class: java.lang.Object
{
  private final com.oracle.svm.core.locks.ClassInstanceReplacer<com.oracle.svm.core.locks.VMMutex, com.oracle.svm.core.windows.WindowsVMMutex> mutexReplacer;
    descriptor: Lcom/oracle/svm/core/locks/ClassInstanceReplacer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lcom/oracle/svm/core/locks/ClassInstanceReplacer<Lcom/oracle/svm/core/locks/VMMutex;Lcom/oracle/svm/core/windows/WindowsVMMutex;>;

  private final com.oracle.svm.core.locks.ClassInstanceReplacer<com.oracle.svm.core.locks.VMCondition, com.oracle.svm.core.windows.WindowsVMCondition> conditionReplacer;
    descriptor: Lcom/oracle/svm/core/locks/ClassInstanceReplacer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lcom/oracle/svm/core/locks/ClassInstanceReplacer<Lcom/oracle/svm/core/locks/VMCondition;Lcom/oracle/svm/core/windows/WindowsVMCondition;>;

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.oracle.svm.core.windows.WindowsVMLockFeature this
         0: .line 63
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 65
            aload 0 /* this */
            new com.oracle.svm.core.windows.WindowsVMLockFeature$1
            dup
            aload 0 /* this */
            ldc Lcom/oracle/svm/core/locks/VMMutex;
            invokespecial com.oracle.svm.core.windows.WindowsVMLockFeature$1.<init>:(Lcom/oracle/svm/core/windows/WindowsVMLockFeature;Ljava/lang/Class;)V
            putfield com.oracle.svm.core.windows.WindowsVMLockFeature.mutexReplacer:Lcom/oracle/svm/core/locks/ClassInstanceReplacer;
         2: .line 72
            aload 0 /* this */
            new com.oracle.svm.core.windows.WindowsVMLockFeature$2
            dup
            aload 0 /* this */
            ldc Lcom/oracle/svm/core/locks/VMCondition;
            invokespecial com.oracle.svm.core.windows.WindowsVMLockFeature$2.<init>:(Lcom/oracle/svm/core/windows/WindowsVMLockFeature;Ljava/lang/Class;)V
            putfield com.oracle.svm.core.windows.WindowsVMLockFeature.conditionReplacer:Lcom/oracle/svm/core/locks/ClassInstanceReplacer;
         3: .line 63
            return
        end local 0 // com.oracle.svm.core.windows.WindowsVMLockFeature this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/svm/core/windows/WindowsVMLockFeature;

  public boolean isInConfiguration(org.graalvm.nativeimage.hosted.Feature$IsInConfigurationAccess);
    descriptor: (Lorg/graalvm/nativeimage/hosted/Feature$IsInConfigurationAccess;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // com.oracle.svm.core.windows.WindowsVMLockFeature this
        start local 1 // org.graalvm.nativeimage.hosted.Feature$IsInConfigurationAccess access
         0: .line 81
            getstatic com.oracle.svm.core.SubstrateOptions.MultiThreaded:Lcom/oracle/svm/core/option/HostedOptionKey;
            invokevirtual com.oracle.svm.core.option.HostedOptionKey.getValue:()Ljava/lang/Object;
            checkcast java.lang.Boolean
            invokevirtual java.lang.Boolean.booleanValue:()Z
            ireturn
        end local 1 // org.graalvm.nativeimage.hosted.Feature$IsInConfigurationAccess access
        end local 0 // com.oracle.svm.core.windows.WindowsVMLockFeature this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0    this  Lcom/oracle/svm/core/windows/WindowsVMLockFeature;
            0    1     1  access  Lorg/graalvm/nativeimage/hosted/Feature$IsInConfigurationAccess;
    MethodParameters:
        Name  Flags
      access  

  public void duringSetup(org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess);
    descriptor: (Lorg/graalvm/nativeimage/hosted/Feature$DuringSetupAccess;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.svm.core.windows.WindowsVMLockFeature this
        start local 1 // org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess access
         0: .line 86
            ldc Lcom/oracle/svm/core/windows/WindowsVMLockSupport;
            new com.oracle.svm.core.windows.WindowsVMLockSupport
            dup
            invokespecial com.oracle.svm.core.windows.WindowsVMLockSupport.<init>:()V
            invokestatic org.graalvm.nativeimage.ImageSingletons.add:(Ljava/lang/Class;Ljava/lang/Object;)V
         1: .line 87
            aload 1 /* access */
            aload 0 /* this */
            getfield com.oracle.svm.core.windows.WindowsVMLockFeature.mutexReplacer:Lcom/oracle/svm/core/locks/ClassInstanceReplacer;
            invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.registerObjectReplacer:(Ljava/util/function/Function;)V
         2: .line 88
            aload 1 /* access */
            aload 0 /* this */
            getfield com.oracle.svm.core.windows.WindowsVMLockFeature.conditionReplacer:Lcom/oracle/svm/core/locks/ClassInstanceReplacer;
            invokeinterface org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess.registerObjectReplacer:(Ljava/util/function/Function;)V
         3: .line 89
            return
        end local 1 // org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess access
        end local 0 // com.oracle.svm.core.windows.WindowsVMLockFeature this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/oracle/svm/core/windows/WindowsVMLockFeature;
            0    4     1  access  Lorg/graalvm/nativeimage/hosted/Feature$DuringSetupAccess;
    MethodParameters:
        Name  Flags
      access  

  public void beforeCompilation(org.graalvm.nativeimage.hosted.Feature$BeforeCompilationAccess);
    descriptor: (Lorg/graalvm/nativeimage/hosted/Feature$BeforeCompilationAccess;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=12, args_size=2
        start local 0 // com.oracle.svm.core.windows.WindowsVMLockFeature this
        start local 1 // org.graalvm.nativeimage.hosted.Feature$BeforeCompilationAccess access
         0: .line 93
            invokestatic com.oracle.svm.core.config.ConfigurationValues.getObjectLayout:()Lcom/oracle/svm/core/config/ObjectLayout;
            astore 2 /* layout */
        start local 2 // com.oracle.svm.core.config.ObjectLayout layout
         1: .line 94
            iconst_0
            istore 3 /* nextIndex */
        start local 3 // int nextIndex
         2: .line 96
            aload 0 /* this */
            getfield com.oracle.svm.core.windows.WindowsVMLockFeature.mutexReplacer:Lcom/oracle/svm/core/locks/ClassInstanceReplacer;
            invokevirtual com.oracle.svm.core.locks.ClassInstanceReplacer.getReplacements:()Ljava/util/Collection;
            iconst_0
            anewarray com.oracle.svm.core.windows.WindowsVMMutex
            invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast com.oracle.svm.core.windows.WindowsVMMutex[]
            astore 4 /* mutexes */
        start local 4 // com.oracle.svm.core.windows.WindowsVMMutex[] mutexes
         3: .line 97
            ldc Lcom/oracle/svm/core/windows/headers/Process$CRITICAL_SECTION;
            invokestatic org.graalvm.nativeimage.c.struct.SizeOf.get:(Ljava/lang/Class;)I
            bipush 8
            invokestatic org.graalvm.compiler.core.common.NumUtil.roundUp:(II)I
            istore 5 /* mutexSize */
        start local 5 // int mutexSize
         4: .line 98
            aload 4 /* mutexes */
            dup
            astore 9
            arraylength
            istore 8
            iconst_0
            istore 7
            goto 9
      StackMap locals: com.oracle.svm.core.windows.WindowsVMLockFeature org.graalvm.nativeimage.hosted.Feature$BeforeCompilationAccess com.oracle.svm.core.config.ObjectLayout int com.oracle.svm.core.windows.WindowsVMMutex[] int top int int com.oracle.svm.core.windows.WindowsVMMutex[]
      StackMap stack:
         5: aload 9
            iload 7
            aaload
            astore 6 /* mutex */
        start local 6 // com.oracle.svm.core.windows.WindowsVMMutex mutex
         6: .line 99
            aload 6 /* mutex */
            aload 2 /* layout */
            getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
            iload 3 /* nextIndex */
            invokevirtual com.oracle.svm.core.config.ObjectLayout.getArrayElementOffset:(Ljdk/vm/ci/meta/JavaKind;I)J
            invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
            putfield com.oracle.svm.core.windows.WindowsVMMutex.structOffset:Lorg/graalvm/word/UnsignedWord;
         7: .line 100
            iload 3 /* nextIndex */
            iload 5 /* mutexSize */
            iadd
            istore 3 /* nextIndex */
        end local 6 // com.oracle.svm.core.windows.WindowsVMMutex mutex
         8: .line 98
            iinc 7 1
      StackMap locals:
      StackMap stack:
         9: iload 7
            iload 8
            if_icmplt 5
        10: .line 103
            aload 0 /* this */
            getfield com.oracle.svm.core.windows.WindowsVMLockFeature.conditionReplacer:Lcom/oracle/svm/core/locks/ClassInstanceReplacer;
            invokevirtual com.oracle.svm.core.locks.ClassInstanceReplacer.getReplacements:()Ljava/util/Collection;
            iconst_0
            anewarray com.oracle.svm.core.windows.WindowsVMCondition
            invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
            checkcast com.oracle.svm.core.windows.WindowsVMCondition[]
            astore 6 /* conditions */
        start local 6 // com.oracle.svm.core.windows.WindowsVMCondition[] conditions
        11: .line 104
            ldc Lcom/oracle/svm/core/windows/headers/Process$CONDITION_VARIABLE;
            invokestatic org.graalvm.nativeimage.c.struct.SizeOf.get:(Ljava/lang/Class;)I
            bipush 8
            invokestatic org.graalvm.compiler.core.common.NumUtil.roundUp:(II)I
            istore 7 /* conditionSize */
        start local 7 // int conditionSize
        12: .line 105
            aload 6 /* conditions */
            dup
            astore 11
            arraylength
            istore 10
            iconst_0
            istore 9
            goto 17
      StackMap locals: com.oracle.svm.core.windows.WindowsVMLockFeature org.graalvm.nativeimage.hosted.Feature$BeforeCompilationAccess com.oracle.svm.core.config.ObjectLayout int com.oracle.svm.core.windows.WindowsVMMutex[] int com.oracle.svm.core.windows.WindowsVMCondition[] int top int int com.oracle.svm.core.windows.WindowsVMCondition[]
      StackMap stack:
        13: aload 11
            iload 9
            aaload
            astore 8 /* condition */
        start local 8 // com.oracle.svm.core.windows.WindowsVMCondition condition
        14: .line 106
            aload 8 /* condition */
            aload 2 /* layout */
            getstatic jdk.vm.ci.meta.JavaKind.Byte:Ljdk/vm/ci/meta/JavaKind;
            iload 3 /* nextIndex */
            invokevirtual com.oracle.svm.core.config.ObjectLayout.getArrayElementOffset:(Ljdk/vm/ci/meta/JavaKind;I)J
            invokestatic org.graalvm.word.WordFactory.unsigned:(J)Lorg/graalvm/word/UnsignedWord;
            putfield com.oracle.svm.core.windows.WindowsVMCondition.structOffset:Lorg/graalvm/word/UnsignedWord;
        15: .line 107
            iload 3 /* nextIndex */
            iload 7 /* conditionSize */
            iadd
            istore 3 /* nextIndex */
        end local 8 // com.oracle.svm.core.windows.WindowsVMCondition condition
        16: .line 105
            iinc 9 1
      StackMap locals:
      StackMap stack:
        17: iload 9
            iload 10
            if_icmplt 13
        18: .line 110
            ldc Lcom/oracle/svm/core/windows/WindowsVMLockSupport;
            invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.svm.core.windows.WindowsVMLockSupport
            astore 8 /* lockSupport */
        start local 8 // com.oracle.svm.core.windows.WindowsVMLockSupport lockSupport
        19: .line 111
            aload 8 /* lockSupport */
            aload 4 /* mutexes */
            putfield com.oracle.svm.core.windows.WindowsVMLockSupport.mutexes:[Lcom/oracle/svm/core/windows/WindowsVMMutex;
        20: .line 112
            aload 8 /* lockSupport */
            aload 6 /* conditions */
            putfield com.oracle.svm.core.windows.WindowsVMLockSupport.conditions:[Lcom/oracle/svm/core/windows/WindowsVMCondition;
        21: .line 113
            aload 8 /* lockSupport */
            iload 3 /* nextIndex */
            newarray 8
            putfield com.oracle.svm.core.windows.WindowsVMLockSupport.syncStructs:[B
        22: .line 114
            return
        end local 8 // com.oracle.svm.core.windows.WindowsVMLockSupport lockSupport
        end local 7 // int conditionSize
        end local 6 // com.oracle.svm.core.windows.WindowsVMCondition[] conditions
        end local 5 // int mutexSize
        end local 4 // com.oracle.svm.core.windows.WindowsVMMutex[] mutexes
        end local 3 // int nextIndex
        end local 2 // com.oracle.svm.core.config.ObjectLayout layout
        end local 1 // org.graalvm.nativeimage.hosted.Feature$BeforeCompilationAccess access
        end local 0 // com.oracle.svm.core.windows.WindowsVMLockFeature this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   23     0           this  Lcom/oracle/svm/core/windows/WindowsVMLockFeature;
            0   23     1         access  Lorg/graalvm/nativeimage/hosted/Feature$BeforeCompilationAccess;
            1   23     2         layout  Lcom/oracle/svm/core/config/ObjectLayout;
            2   23     3      nextIndex  I
            3   23     4        mutexes  [Lcom/oracle/svm/core/windows/WindowsVMMutex;
            4   23     5      mutexSize  I
            6    8     6          mutex  Lcom/oracle/svm/core/windows/WindowsVMMutex;
           11   23     6     conditions  [Lcom/oracle/svm/core/windows/WindowsVMCondition;
           12   23     7  conditionSize  I
           14   16     8      condition  Lcom/oracle/svm/core/windows/WindowsVMCondition;
           19   23     8    lockSupport  Lcom/oracle/svm/core/windows/WindowsVMLockSupport;
    MethodParameters:
        Name  Flags
      access  
}
SourceFile: "WindowsVMLockSupport.java"
NestMembers:
  com.oracle.svm.core.windows.WindowsVMLockFeature$1  com.oracle.svm.core.windows.WindowsVMLockFeature$2
InnerClasses:
  com.oracle.svm.core.windows.WindowsVMLockFeature$1
  com.oracle.svm.core.windows.WindowsVMLockFeature$2
  public abstract CONDITION_VARIABLE = com.oracle.svm.core.windows.headers.Process$CONDITION_VARIABLE of com.oracle.svm.core.windows.headers.Process
  public abstract CRITICAL_SECTION = com.oracle.svm.core.windows.headers.Process$CRITICAL_SECTION of com.oracle.svm.core.windows.headers.Process
  public abstract BeforeCompilationAccess = org.graalvm.nativeimage.hosted.Feature$BeforeCompilationAccess of org.graalvm.nativeimage.hosted.Feature
  public abstract DuringSetupAccess = org.graalvm.nativeimage.hosted.Feature$DuringSetupAccess of org.graalvm.nativeimage.hosted.Feature
  public abstract IsInConfigurationAccess = org.graalvm.nativeimage.hosted.Feature$IsInConfigurationAccess of org.graalvm.nativeimage.hosted.Feature
    RuntimeVisibleAnnotations: 
      com.oracle.svm.core.annotate.AutomaticFeature()
      org.graalvm.nativeimage.Platforms(value = {Lorg/graalvm/nativeimage/Platform$WINDOWS;})