final class jdk.nashorn.internal.runtime.AstSerializer
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: jdk.nashorn.internal.runtime.AstSerializer
  super_class: java.lang.Object
{
  private static final int COMPRESSION_LEVEL;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=2, locals=0, args_size=0
         0: .line 42
            ldc "nashorn.serialize.compression"
            iconst_4
            invokestatic jdk.nashorn.internal.runtime.options.Options.getIntProperty:(Ljava/lang/String;I)I
            putstatic jdk.nashorn.internal.runtime.AstSerializer.COMPRESSION_LEVEL:I
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // jdk.nashorn.internal.runtime.AstSerializer this
         0: .line 39
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // jdk.nashorn.internal.runtime.AstSerializer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Ljdk/nashorn/internal/runtime/AstSerializer;

  static byte[] serialize(jdk.nashorn.internal.ir.FunctionNode);
    descriptor: (Ljdk/nashorn/internal/ir/FunctionNode;)[B
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=7, args_size=1
        start local 0 // jdk.nashorn.internal.ir.FunctionNode fn
         0: .line 44
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            astore 1 /* out */
        start local 1 // java.io.ByteArrayOutputStream out
         1: .line 45
            new java.util.zip.Deflater
            dup
            getstatic jdk.nashorn.internal.runtime.AstSerializer.COMPRESSION_LEVEL:I
            invokespecial java.util.zip.Deflater.<init>:(I)V
            astore 2 /* deflater */
        start local 2 // java.util.zip.Deflater deflater
         2: .line 46
            aconst_null
            astore 3
            aconst_null
            astore 4
         3: new java.io.ObjectOutputStream
            dup
            new java.util.zip.DeflaterOutputStream
            dup
            aload 1 /* out */
            aload 2 /* deflater */
            invokespecial java.util.zip.DeflaterOutputStream.<init>:(Ljava/io/OutputStream;Ljava/util/zip/Deflater;)V
            invokespecial java.io.ObjectOutputStream.<init>:(Ljava/io/OutputStream;)V
            astore 5 /* oout */
        start local 5 // java.io.ObjectOutputStream oout
         4: .line 47
            aload 5 /* oout */
            aload 0 /* fn */
            invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
         5: .line 48
            aload 5 /* oout */
            ifnull 16
            aload 5 /* oout */
            invokevirtual java.io.ObjectOutputStream.close:()V
            goto 16
      StackMap locals: jdk.nashorn.internal.ir.FunctionNode java.io.ByteArrayOutputStream java.util.zip.Deflater java.lang.Throwable java.lang.Throwable java.io.ObjectOutputStream
      StackMap stack: java.lang.Throwable
         6: astore 3
            aload 5 /* oout */
            ifnull 7
            aload 5 /* oout */
            invokevirtual java.io.ObjectOutputStream.close:()V
        end local 5 // java.io.ObjectOutputStream oout
      StackMap locals:
      StackMap stack:
         7: aload 3
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: astore 4
            aload 3
            ifnonnull 9
            aload 4
            astore 3
            goto 10
      StackMap locals:
      StackMap stack:
         9: aload 3
            aload 4
            if_acmpeq 10
            aload 3
            aload 4
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
        10: aload 3
            athrow
      StackMap locals: jdk.nashorn.internal.ir.FunctionNode java.io.ByteArrayOutputStream java.util.zip.Deflater
      StackMap stack: java.io.IOException
        11: astore 3 /* e */
        start local 3 // java.io.IOException e
        12: .line 49
            new java.lang.AssertionError
            dup
            ldc "Unexpected exception serializing function"
            aload 3 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.io.IOException e
        13: .line 50
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 6
        14: .line 51
            aload 2 /* deflater */
            invokevirtual java.util.zip.Deflater.end:()V
        15: .line 52
            aload 6
            athrow
        16: .line 51
      StackMap locals:
      StackMap stack:
            aload 2 /* deflater */
            invokevirtual java.util.zip.Deflater.end:()V
        17: .line 53
            aload 1 /* out */
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            areturn
        end local 2 // java.util.zip.Deflater deflater
        end local 1 // java.io.ByteArrayOutputStream out
        end local 0 // jdk.nashorn.internal.ir.FunctionNode fn
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   18     0        fn  Ljdk/nashorn/internal/ir/FunctionNode;
            1   18     1       out  Ljava/io/ByteArrayOutputStream;
            2   18     2  deflater  Ljava/util/zip/Deflater;
            4    7     5      oout  Ljava/io/ObjectOutputStream;
           12   13     3         e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           4     5       6  any
           3     8       8  any
           2    11      11  Class java.io.IOException
           2    13      13  any
    MethodParameters:
      Name  Flags
      fn    final
}
SourceFile: "AstSerializer.java"