public final class jdk.internal.perf.Perf
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: jdk.internal.perf.Perf
  super_class: java.lang.Object
{
  private static jdk.internal.perf.Perf instance;
    descriptor: Ljdk/internal/perf/Perf;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC

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

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

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 544
            invokestatic jdk.internal.perf.Perf.registerNatives:()V
         1: .line 545
            new jdk.internal.perf.Perf
            dup
            invokespecial jdk.internal.perf.Perf.<init>:()V
            putstatic jdk.internal.perf.Perf.instance:Ljdk/internal/perf/Perf;
         2: .line 546
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void <init>();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.internal.perf.Perf this
         0: .line 60
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.internal.perf.Perf this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/internal/perf/Perf;

  public static jdk.internal.perf.Perf getPerf();
    descriptor: ()Ljdk/internal/perf/Perf;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=2, args_size=0
         0: .line 136
            invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
            astore 0 /* security */
        start local 0 // java.lang.SecurityManager security
         1: .line 137
            aload 0 /* security */
            ifnull 4
         2: .line 138
            new java.lang.RuntimePermission
            dup
            ldc "jdk.internal.perf.Perf.getPerf"
            invokespecial java.lang.RuntimePermission.<init>:(Ljava/lang/String;)V
            astore 1 /* perm */
        start local 1 // java.security.Permission perm
         3: .line 139
            aload 0 /* security */
            aload 1 /* perm */
            invokevirtual java.lang.SecurityManager.checkPermission:(Ljava/security/Permission;)V
        end local 1 // java.security.Permission perm
         4: .line 142
      StackMap locals: java.lang.SecurityManager
      StackMap stack:
            getstatic jdk.internal.perf.Perf.instance:Ljdk/internal/perf/Perf;
            areturn
        end local 0 // java.lang.SecurityManager security
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            1    5     0  security  Ljava/lang/SecurityManager;
            3    4     1      perm  Ljava/security/Permission;

  public java.nio.ByteBuffer attach(int, java.lang.String);
    descriptor: (ILjava/lang/String;)Ljava/nio/ByteBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // jdk.internal.perf.Perf this
        start local 1 // int lvmid
        start local 2 // java.lang.String mode
         0: .line 199
            aload 2 /* mode */
            ldc "r"
            invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
            ifne 2
         1: .line 200
            aload 0 /* this */
            aconst_null
            iload 1 /* lvmid */
            iconst_0
            invokevirtual jdk.internal.perf.Perf.attachImpl:(Ljava/lang/String;II)Ljava/nio/ByteBuffer;
            areturn
         2: .line 202
      StackMap locals:
      StackMap stack:
            aload 2 /* mode */
            ldc "rw"
            invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
            ifne 4
         3: .line 203
            aload 0 /* this */
            aconst_null
            iload 1 /* lvmid */
            iconst_1
            invokevirtual jdk.internal.perf.Perf.attachImpl:(Ljava/lang/String;II)Ljava/nio/ByteBuffer;
            areturn
         4: .line 206
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "unknown mode"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 2 // java.lang.String mode
        end local 1 // int lvmid
        end local 0 // jdk.internal.perf.Perf this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Ljdk/internal/perf/Perf;
            0    5     1  lvmid  I
            0    5     2   mode  Ljava/lang/String;
    Exceptions:
      throws java.lang.IllegalArgumentException, java.io.IOException
    MethodParameters:
       Name  Flags
      lvmid  
      mode   

  public java.nio.ByteBuffer attach(java.lang.String, int, java.lang.String);
    descriptor: (Ljava/lang/String;ILjava/lang/String;)Ljava/nio/ByteBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // jdk.internal.perf.Perf this
        start local 1 // java.lang.String user
        start local 2 // int lvmid
        start local 3 // java.lang.String mode
         0: .line 235
            aload 3 /* mode */
            ldc "r"
            invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
            ifne 2
         1: .line 236
            aload 0 /* this */
            aload 1 /* user */
            iload 2 /* lvmid */
            iconst_0
            invokevirtual jdk.internal.perf.Perf.attachImpl:(Ljava/lang/String;II)Ljava/nio/ByteBuffer;
            areturn
         2: .line 238
      StackMap locals:
      StackMap stack:
            aload 3 /* mode */
            ldc "rw"
            invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
            ifne 4
         3: .line 239
            aload 0 /* this */
            aload 1 /* user */
            iload 2 /* lvmid */
            iconst_1
            invokevirtual jdk.internal.perf.Perf.attachImpl:(Ljava/lang/String;II)Ljava/nio/ByteBuffer;
            areturn
         4: .line 242
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            ldc "unknown mode"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        end local 3 // java.lang.String mode
        end local 2 // int lvmid
        end local 1 // java.lang.String user
        end local 0 // jdk.internal.perf.Perf this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0   this  Ljdk/internal/perf/Perf;
            0    5     1   user  Ljava/lang/String;
            0    5     2  lvmid  I
            0    5     3   mode  Ljava/lang/String;
    Exceptions:
      throws java.lang.IllegalArgumentException, java.io.IOException
    MethodParameters:
       Name  Flags
      user   
      lvmid  
      mode   

  private java.nio.ByteBuffer attachImpl(java.lang.String, int, int);
    descriptor: (Ljava/lang/String;II)Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=6, args_size=4
        start local 0 // jdk.internal.perf.Perf this
        start local 1 // java.lang.String user
        start local 2 // int lvmid
        start local 3 // int mode
         0: .line 270
            aload 0 /* this */
            aload 1 /* user */
            iload 2 /* lvmid */
            iload 3 /* mode */
            invokevirtual jdk.internal.perf.Perf.attach:(Ljava/lang/String;II)Ljava/nio/ByteBuffer;
            astore 4 /* b */
        start local 4 // java.nio.ByteBuffer b
         1: .line 272
            iload 2 /* lvmid */
            ifne 3
         2: .line 275
            aload 4 /* b */
            areturn
         3: .line 284
      StackMap locals: java.nio.ByteBuffer
      StackMap stack:
            aload 4 /* b */
            invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
            astore 5 /* dup */
        start local 5 // java.nio.ByteBuffer dup
         4: .line 286
            invokestatic jdk.internal.ref.CleanerFactory.cleaner:()Ljava/lang/ref/Cleaner;
         5: .line 287
            aload 5 /* dup */
            new jdk.internal.perf.Perf$CleanerAction
            dup
            getstatic jdk.internal.perf.Perf.instance:Ljdk/internal/perf/Perf;
            aload 4 /* b */
            invokespecial jdk.internal.perf.Perf$CleanerAction.<init>:(Ljdk/internal/perf/Perf;Ljava/nio/ByteBuffer;)V
            invokevirtual java.lang.ref.Cleaner.register:(Ljava/lang/Object;Ljava/lang/Runnable;)Ljava/lang/ref/Cleaner$Cleanable;
            pop
         6: .line 288
            aload 5 /* dup */
            areturn
        end local 5 // java.nio.ByteBuffer dup
        end local 4 // java.nio.ByteBuffer b
        end local 3 // int mode
        end local 2 // int lvmid
        end local 1 // java.lang.String user
        end local 0 // jdk.internal.perf.Perf this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    7     0   this  Ljdk/internal/perf/Perf;
            0    7     1   user  Ljava/lang/String;
            0    7     2  lvmid  I
            0    7     3   mode  I
            1    7     4      b  Ljava/nio/ByteBuffer;
            4    7     5    dup  Ljava/nio/ByteBuffer;
    Exceptions:
      throws java.lang.IllegalArgumentException, java.io.IOException
    MethodParameters:
       Name  Flags
      user   
      lvmid  
      mode   

  private native java.nio.ByteBuffer attach(java.lang.String, int, int);
    descriptor: (Ljava/lang/String;II)Ljava/nio/ByteBuffer;
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
    Exceptions:
      throws java.lang.IllegalArgumentException, java.io.IOException
    MethodParameters:
       Name  Flags
      user   
      lvmid  
      mode   

  private native void detach(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
    MethodParameters:
      Name  Flags
      bb    

  public native java.nio.ByteBuffer createLong(java.lang.String, int, int, long);
    descriptor: (Ljava/lang/String;IIJ)Ljava/nio/ByteBuffer;
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
    MethodParameters:
             Name  Flags
      name         
      variability  
      units        
      value        

  public java.nio.ByteBuffer createString(java.lang.String, int, int, java.lang.String, int);
    descriptor: (Ljava/lang/String;IILjava/lang/String;I)Ljava/nio/ByteBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=8, args_size=6
        start local 0 // jdk.internal.perf.Perf this
        start local 1 // java.lang.String name
        start local 2 // int variability
        start local 3 // int units
        start local 4 // java.lang.String value
        start local 5 // int maxLength
         0: .line 416
            aload 4 /* value */
            invokestatic jdk.internal.perf.Perf.getBytes:(Ljava/lang/String;)[B
            astore 6 /* v */
        start local 6 // byte[] v
         1: .line 417
            aload 6 /* v */
            arraylength
            iconst_1
            iadd
            newarray 8
            astore 7 /* v1 */
        start local 7 // byte[] v1
         2: .line 418
            aload 6 /* v */
            iconst_0
            aload 7 /* v1 */
            iconst_0
            aload 6 /* v */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         3: .line 419
            aload 7 /* v1 */
            aload 6 /* v */
            arraylength
            iconst_0
            bastore
         4: .line 420
            aload 0 /* this */
            aload 1 /* name */
            iload 2 /* variability */
            iload 3 /* units */
            aload 7 /* v1 */
            aload 7 /* v1 */
            arraylength
            iload 5 /* maxLength */
            invokestatic java.lang.Math.max:(II)I
            invokevirtual jdk.internal.perf.Perf.createByteArray:(Ljava/lang/String;II[BI)Ljava/nio/ByteBuffer;
            areturn
        end local 7 // byte[] v1
        end local 6 // byte[] v
        end local 5 // int maxLength
        end local 4 // java.lang.String value
        end local 3 // int units
        end local 2 // int variability
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.perf.Perf this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Ljdk/internal/perf/Perf;
            0    5     1         name  Ljava/lang/String;
            0    5     2  variability  I
            0    5     3        units  I
            0    5     4        value  Ljava/lang/String;
            0    5     5    maxLength  I
            1    5     6            v  [B
            2    5     7           v1  [B
    MethodParameters:
             Name  Flags
      name         
      variability  
      units        
      value        
      maxLength    

  public java.nio.ByteBuffer createString(java.lang.String, int, int, java.lang.String);
    descriptor: (Ljava/lang/String;IILjava/lang/String;)Ljava/nio/ByteBuffer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=5
        start local 0 // jdk.internal.perf.Perf this
        start local 1 // java.lang.String name
        start local 2 // int variability
        start local 3 // int units
        start local 4 // java.lang.String value
         0: .line 455
            aload 4 /* value */
            invokestatic jdk.internal.perf.Perf.getBytes:(Ljava/lang/String;)[B
            astore 5 /* v */
        start local 5 // byte[] v
         1: .line 456
            aload 5 /* v */
            arraylength
            iconst_1
            iadd
            newarray 8
            astore 6 /* v1 */
        start local 6 // byte[] v1
         2: .line 457
            aload 5 /* v */
            iconst_0
            aload 6 /* v1 */
            iconst_0
            aload 5 /* v */
            arraylength
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         3: .line 458
            aload 6 /* v1 */
            aload 5 /* v */
            arraylength
            iconst_0
            bastore
         4: .line 459
            aload 0 /* this */
            aload 1 /* name */
            iload 2 /* variability */
            iload 3 /* units */
            aload 6 /* v1 */
            aload 6 /* v1 */
            arraylength
            invokevirtual jdk.internal.perf.Perf.createByteArray:(Ljava/lang/String;II[BI)Ljava/nio/ByteBuffer;
            areturn
        end local 6 // byte[] v1
        end local 5 // byte[] v
        end local 4 // java.lang.String value
        end local 3 // int units
        end local 2 // int variability
        end local 1 // java.lang.String name
        end local 0 // jdk.internal.perf.Perf this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Ljdk/internal/perf/Perf;
            0    5     1         name  Ljava/lang/String;
            0    5     2  variability  I
            0    5     3        units  I
            0    5     4        value  Ljava/lang/String;
            1    5     5            v  [B
            2    5     6           v1  [B
    MethodParameters:
             Name  Flags
      name         
      variability  
      units        
      value        

  public native java.nio.ByteBuffer createByteArray(java.lang.String, int, int, byte[], int);
    descriptor: (Ljava/lang/String;II[BI)Ljava/nio/ByteBuffer;
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE
    MethodParameters:
             Name  Flags
      name         
      variability  
      units        
      value        
      maxLength    

  private static byte[] getBytes(java.lang.String);
    descriptor: (Ljava/lang/String;)[B
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // java.lang.String s
         0: .line 500
            aconst_null
            astore 1 /* bytes */
        start local 1 // byte[] bytes
         1: .line 503
            aload 0 /* s */
            ldc "UTF-8"
            invokevirtual java.lang.String.getBytes:(Ljava/lang/String;)[B
            astore 1 /* bytes */
         2: .line 504
            goto 4
         3: .line 505
      StackMap locals: java.lang.String byte[]
      StackMap stack: java.io.UnsupportedEncodingException
            pop
         4: .line 509
      StackMap locals:
      StackMap stack:
            aload 1 /* bytes */
            areturn
        end local 1 // byte[] bytes
        end local 0 // java.lang.String s
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    5     0      s  Ljava/lang/String;
            1    5     1  bytes  [B
      Exception table:
        from    to  target  type
           1     2       3  Class java.io.UnsupportedEncodingException
    MethodParameters:
      Name  Flags
      s     

  public native long highResCounter();
    descriptor: ()J
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE

  public native long highResFrequency();
    descriptor: ()J
    flags: (0x0101) ACC_PUBLIC, ACC_NATIVE

  private static native void registerNatives();
    descriptor: ()V
    flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
}
SourceFile: "Perf.java"
NestMembers:
  jdk.internal.perf.Perf$CleanerAction  jdk.internal.perf.Perf$GetPerfAction
InnerClasses:
  public abstract Cleanable = java.lang.ref.Cleaner$Cleanable of java.lang.ref.Cleaner
  private CleanerAction = jdk.internal.perf.Perf$CleanerAction of jdk.internal.perf.Perf
  public GetPerfAction = jdk.internal.perf.Perf$GetPerfAction of jdk.internal.perf.Perf