public class com.oracle.svm.core.Containers
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.svm.core.Containers
  super_class: java.lang.Object
{
  public static final int UNKNOWN;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  private static final int PER_CPU_SHARES;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1024

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.svm.core.Containers this
         0: .line 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.svm.core.Containers this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/svm/core/Containers;

  public static int activeProcessorCount();
    descriptor: ()I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=11, args_size=0
         0: .line 117
            invokestatic com.oracle.svm.core.jdk.Jvm.JVM_ActiveProcessorCount:()I
            istore 0 /* cpuCount */
        start local 0 // int cpuCount
         1: .line 119
            iload 0 /* cpuCount */
            istore 1 /* limitCount */
        start local 1 // int limitCount
         2: .line 120
            getstatic com.oracle.svm.core.Containers$Options.UseContainerSupport: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
            ifeq 25
            ldc Lorg/graalvm/nativeimage/Platform$LINUX;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 25
         3: .line 121
            new com.oracle.svm.core.ContainerInfo
            dup
            invokespecial com.oracle.svm.core.ContainerInfo.<init>:()V
            astore 2 /* info */
        start local 2 // com.oracle.svm.core.ContainerInfo info
         4: .line 122
            aload 2 /* info */
            invokevirtual com.oracle.svm.core.ContainerInfo.isContainerized:()Z
            ifeq 25
         5: .line 123
            aload 2 /* info */
            invokevirtual com.oracle.svm.core.ContainerInfo.getCpuQuota:()J
            lstore 3 /* quota */
        start local 3 // long quota
         6: .line 124
            aload 2 /* info */
            invokevirtual com.oracle.svm.core.ContainerInfo.getCpuPeriod:()J
            lstore 5 /* period */
        start local 5 // long period
         7: .line 125
            aload 2 /* info */
            invokevirtual com.oracle.svm.core.ContainerInfo.getCpuShares:()J
            lstore 7 /* shares */
        start local 7 // long shares
         8: .line 127
            iconst_0
            istore 9 /* quotaCount */
        start local 9 // int quotaCount
         9: .line 128
            lload 3 /* quota */
            ldc -1
            lcmp
            ifle 11
            lload 5 /* period */
            lconst_0
            lcmp
            ifle 11
        10: .line 129
            lload 3 /* quota */
            l2d
            lload 5 /* period */
            l2d
            ddiv
            invokestatic java.lang.Math.ceil:(D)D
            d2i
            istore 9 /* quotaCount */
        11: .line 132
      StackMap locals: int int com.oracle.svm.core.ContainerInfo long long long int
      StackMap stack:
            iconst_0
            istore 10 /* shareCount */
        start local 10 // int shareCount
        12: .line 133
            lload 7 /* shares */
            ldc -1
            lcmp
            ifle 14
        13: .line 134
            lload 7 /* shares */
            l2d
            ldc 1024.0
            ddiv
            invokestatic java.lang.Math.ceil:(D)D
            d2i
            istore 10 /* shareCount */
        14: .line 137
      StackMap locals: int
      StackMap stack:
            iload 9 /* quotaCount */
            ifeq 20
            iload 10 /* shareCount */
            ifeq 20
        15: .line 139
            getstatic com.oracle.svm.core.Containers$Options.PreferContainerQuotaForCPUCount:Lcom/oracle/svm/core/option/RuntimeOptionKey;
            invokevirtual com.oracle.svm.core.option.RuntimeOptionKey.getValue:()Ljava/lang/Object;
            checkcast java.lang.Boolean
            invokevirtual java.lang.Boolean.booleanValue:()Z
            ifeq 18
        16: .line 140
            iload 9 /* quotaCount */
            istore 1 /* limitCount */
        17: .line 141
            goto 25
        18: .line 142
      StackMap locals:
      StackMap stack:
            iload 9 /* quotaCount */
            iload 10 /* shareCount */
            invokestatic java.lang.Math.min:(II)I
            istore 1 /* limitCount */
        19: .line 144
            goto 25
      StackMap locals:
      StackMap stack:
        20: iload 9 /* quotaCount */
            ifeq 23
        21: .line 145
            iload 9 /* quotaCount */
            istore 1 /* limitCount */
        22: .line 146
            goto 25
      StackMap locals:
      StackMap stack:
        23: iload 10 /* shareCount */
            ifeq 25
        24: .line 147
            iload 10 /* shareCount */
            istore 1 /* limitCount */
        end local 10 // int shareCount
        end local 9 // int quotaCount
        end local 7 // long shares
        end local 5 // long period
        end local 3 // long quota
        end local 2 // com.oracle.svm.core.ContainerInfo info
        25: .line 152
      StackMap locals: int int
      StackMap stack:
            iload 0 /* cpuCount */
            iload 1 /* limitCount */
            invokestatic java.lang.Math.min:(II)I
            ireturn
        end local 1 // int limitCount
        end local 0 // int cpuCount
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            1   26     0    cpuCount  I
            2   26     1  limitCount  I
            4   25     2        info  Lcom/oracle/svm/core/ContainerInfo;
            6   25     3       quota  J
            7   25     5      period  J
            8   25     7      shares  J
            9   25     9  quotaCount  I
           12   25    10  shareCount  I

  public static long memoryLimitInBytes();
    descriptor: ()J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=0
         0: .line 161
            getstatic com.oracle.svm.core.Containers$Options.UseContainerSupport: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
            ifeq 6
            ldc Lorg/graalvm/nativeimage/Platform$LINUX;
            invokestatic org.graalvm.nativeimage.Platform.includedIn:(Ljava/lang/Class;)Z
            ifeq 6
         1: .line 162
            new com.oracle.svm.core.ContainerInfo
            dup
            invokespecial com.oracle.svm.core.ContainerInfo.<init>:()V
            astore 0 /* info */
        start local 0 // com.oracle.svm.core.ContainerInfo info
         2: .line 163
            aload 0 /* info */
            invokevirtual com.oracle.svm.core.ContainerInfo.isContainerized:()Z
            ifeq 6
         3: .line 164
            aload 0 /* info */
            invokevirtual com.oracle.svm.core.ContainerInfo.getMemoryLimit:()J
            lstore 1 /* memoryLimit */
        start local 1 // long memoryLimit
         4: .line 165
            lload 1 /* memoryLimit */
            lconst_0
            lcmp
            ifle 6
         5: .line 166
            lload 1 /* memoryLimit */
            lreturn
        end local 1 // long memoryLimit
        end local 0 // com.oracle.svm.core.ContainerInfo info
         6: .line 170
      StackMap locals:
      StackMap stack:
            ldc -1
            lreturn
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            2    6     0         info  Lcom/oracle/svm/core/ContainerInfo;
            4    6     1  memoryLimit  J
}
SourceFile: "Containers.java"
NestMembers:
  com.oracle.svm.core.Containers$Options
InnerClasses:
  public Options = com.oracle.svm.core.Containers$Options of com.oracle.svm.core.Containers
  public abstract LINUX = org.graalvm.nativeimage.Platform$LINUX of org.graalvm.nativeimage.Platform