public class com.oracle.svm.core.posix.PosixLogHandler implements org.graalvm.nativeimage.LogHandler
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.svm.core.posix.PosixLogHandler
  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 // com.oracle.svm.core.posix.PosixLogHandler this
         0: .line 49
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.svm.core.posix.PosixLogHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/svm/core/posix/PosixLogHandler;

  public void log(org.graalvm.nativeimage.c.type.CCharPointer, org.graalvm.word.UnsignedWord);
    descriptor: (Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/word/UnsignedWord;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=3
        start local 0 // com.oracle.svm.core.posix.PosixLogHandler this
        start local 1 // org.graalvm.nativeimage.c.type.CCharPointer bytes
        start local 2 // org.graalvm.word.UnsignedWord length
         0: .line 54
            invokestatic com.oracle.svm.core.CErrorNumber.getCErrorNumber:()I
            istore 3 /* savedErrno */
        start local 3 // int savedErrno
         1: .line 56
            invokestatic com.oracle.svm.core.posix.PosixLogHandler.getOutputFile:()Ljava/io/FileDescriptor;
            aload 1 /* bytes */
            aload 2 /* length */
            invokestatic com.oracle.svm.core.posix.PosixUtils.writeBytes:(Ljava/io/FileDescriptor;Lorg/graalvm/nativeimage/c/type/CCharPointer;Lorg/graalvm/word/UnsignedWord;)Z
            ifne 7
         2: .line 61
            aload 0 /* this */
            invokevirtual com.oracle.svm.core.posix.PosixLogHandler.fatalError:()V
         3: .line 63
            goto 7
      StackMap locals: com.oracle.svm.core.posix.PosixLogHandler org.graalvm.nativeimage.c.type.CCharPointer org.graalvm.word.UnsignedWord int
      StackMap stack: java.lang.Throwable
         4: astore 4
         5: .line 64
            iload 3 /* savedErrno */
            invokestatic com.oracle.svm.core.CErrorNumber.setCErrorNumber:(I)V
         6: .line 65
            aload 4
            athrow
         7: .line 64
      StackMap locals:
      StackMap stack:
            iload 3 /* savedErrno */
            invokestatic com.oracle.svm.core.CErrorNumber.setCErrorNumber:(I)V
         8: .line 66
            return
        end local 3 // int savedErrno
        end local 2 // org.graalvm.word.UnsignedWord length
        end local 1 // org.graalvm.nativeimage.c.type.CCharPointer bytes
        end local 0 // com.oracle.svm.core.posix.PosixLogHandler this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    9     0        this  Lcom/oracle/svm/core/posix/PosixLogHandler;
            0    9     1       bytes  Lorg/graalvm/nativeimage/c/type/CCharPointer;
            0    9     2      length  Lorg/graalvm/word/UnsignedWord;
            1    9     3  savedErrno  I
      Exception table:
        from    to  target  type
           1     4       4  any
    MethodParameters:
        Name  Flags
      bytes   
      length  

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixLogHandler this
         0: .line 71
            invokestatic com.oracle.svm.core.CErrorNumber.getCErrorNumber:()I
            istore 1 /* savedErrno */
        start local 1 // int savedErrno
         1: .line 73
            invokestatic com.oracle.svm.core.posix.PosixLogHandler.getOutputFile:()Ljava/io/FileDescriptor;
            invokestatic com.oracle.svm.core.posix.PosixUtils.flush:(Ljava/io/FileDescriptor;)Z
            pop
         2: .line 75
            goto 6
      StackMap locals: com.oracle.svm.core.posix.PosixLogHandler int
      StackMap stack: java.lang.Throwable
         3: astore 2
         4: .line 76
            iload 1 /* savedErrno */
            invokestatic com.oracle.svm.core.CErrorNumber.setCErrorNumber:(I)V
         5: .line 77
            aload 2
            athrow
         6: .line 76
      StackMap locals:
      StackMap stack:
            iload 1 /* savedErrno */
            invokestatic com.oracle.svm.core.CErrorNumber.setCErrorNumber:(I)V
         7: .line 78
            return
        end local 1 // int savedErrno
        end local 0 // com.oracle.svm.core.posix.PosixLogHandler this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lcom/oracle/svm/core/posix/PosixLogHandler;
            1    8     1  savedErrno  I
      Exception table:
        from    to  target  type
           1     3       3  any

  public void fatalError();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.svm.core.posix.PosixLogHandler this
         0: .line 82
            invokestatic com.oracle.svm.core.SubstrateUtil.isPrintDiagnosticsInProgress:()Z
            ifeq 2
         1: .line 84
            iconst_3
            invokestatic com.oracle.svm.core.posix.headers.Unistd.sleep:(I)I
            pop
         2: .line 86
      StackMap locals:
      StackMap stack:
            invokestatic com.oracle.svm.core.posix.headers.LibC.abort:()V
         3: .line 87
            return
        end local 0 // com.oracle.svm.core.posix.PosixLogHandler this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/svm/core/posix/PosixLogHandler;

  private static java.io.FileDescriptor getOutputFile();
    descriptor: ()Ljava/io/FileDescriptor;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 90
            getstatic java.io.FileDescriptor.err:Ljava/io/FileDescriptor;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "PosixLogHandler.java"