class com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode extends com.oracle.truffle.polyglot.PolyglotManagement$AbstractNode implements com.oracle.truffle.polyglot.PolyglotManagement$Event
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode
  super_class: com.oracle.truffle.polyglot.PolyglotManagement$AbstractNode
{
  boolean seenInputValues;
    descriptor: Z
    flags: (0x0000) 
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$CompilationFinal()

  boolean seenReturnValue;
    descriptor: Z
    flags: (0x0000) 
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$CompilationFinal()

  final com.oracle.truffle.polyglot.PolyglotLanguage language;
    descriptor: Lcom/oracle/truffle/polyglot/PolyglotLanguage;
    flags: (0x0010) ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 345
            ldc Lcom/oracle/truffle/polyglot/PolyglotManagement;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>(com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl, com.oracle.truffle.api.instrumentation.EventContext);
    descriptor: (Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;Lcom/oracle/truffle/api/instrumentation/EventContext;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
        start local 1 // com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl config
        start local 2 // com.oracle.truffle.api.instrumentation.EventContext context
         0: .line 352
            aload 0 /* this */
            aload 1 /* config */
            aload 2 /* context */
            invokespecial com.oracle.truffle.polyglot.PolyglotManagement$AbstractNode.<init>:(Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;Lcom/oracle/truffle/api/instrumentation/EventContext;)V
         1: .line 353
            aconst_null
            astore 3 /* languageToUse */
        start local 3 // com.oracle.truffle.polyglot.PolyglotLanguage languageToUse
         2: .line 354
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.location:Lorg/graalvm/polyglot/SourceSection;
            ifnull 4
         3: .line 355
            aload 1 /* config */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
            getfield com.oracle.truffle.polyglot.PolyglotEngineImpl.idToLanguage:Ljava/util/Map;
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.location:Lorg/graalvm/polyglot/SourceSection;
            invokevirtual org.graalvm.polyglot.SourceSection.getSource:()Lorg/graalvm/polyglot/Source;
            invokevirtual org.graalvm.polyglot.Source.getLanguage:()Ljava/lang/String;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.polyglot.PolyglotLanguage
            astore 3 /* languageToUse */
         4: .line 357
      StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl com.oracle.truffle.api.instrumentation.EventContext com.oracle.truffle.polyglot.PolyglotLanguage
      StackMap stack:
            aload 3 /* languageToUse */
            ifnonnull 7
         5: .line 359
            getstatic com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.$assertionsDisabled:Z
            ifne 6
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         6: .line 360
      StackMap locals:
      StackMap stack:
            aload 1 /* config */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.engine:Lcom/oracle/truffle/polyglot/PolyglotEngineImpl;
            getfield com.oracle.truffle.polyglot.PolyglotEngineImpl.hostLanguage:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
            astore 3 /* languageToUse */
         7: .line 362
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* languageToUse */
            putfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
         8: .line 363
            return
        end local 3 // com.oracle.truffle.polyglot.PolyglotLanguage languageToUse
        end local 2 // com.oracle.truffle.api.instrumentation.EventContext context
        end local 1 // com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl config
        end local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    9     0           this  Lcom/oracle/truffle/polyglot/PolyglotManagement$ProfilingNode;
            0    9     1         config  Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            0    9     2        context  Lcom/oracle/truffle/api/instrumentation/EventContext;
            2    9     3  languageToUse  Lcom/oracle/truffle/polyglot/PolyglotLanguage;
    MethodParameters:
         Name  Flags
      config   
      context  

  protected void onInputValue(com.oracle.truffle.api.frame.VirtualFrame, com.oracle.truffle.api.instrumentation.EventContext, int, java.lang.Object);
    descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Lcom/oracle/truffle/api/instrumentation/EventContext;ILjava/lang/Object;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=5, args_size=5
        start local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
        start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
        start local 2 // com.oracle.truffle.api.instrumentation.EventContext inputContext
        start local 3 // int inputIndex
        start local 4 // java.lang.Object inputValue
         0: .line 368
            getstatic com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.onReturn:Ljava/util/function/Consumer;
            ifnull 1
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectInputValues:Z
            ifne 2
      StackMap locals:
      StackMap stack:
         1: new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 369
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenInputValues:Z
            ifne 5
         3: .line 370
            invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
         4: .line 371
            aload 0 /* this */
            iconst_1
            putfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenInputValues:Z
         5: .line 373
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* frame */
            iload 3 /* inputIndex */
            aload 4 /* inputValue */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.saveInputValue:(Lcom/oracle/truffle/api/frame/VirtualFrame;ILjava/lang/Object;)V
         6: .line 374
            return
        end local 4 // java.lang.Object inputValue
        end local 3 // int inputIndex
        end local 2 // com.oracle.truffle.api.instrumentation.EventContext inputContext
        end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
        end local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0          this  Lcom/oracle/truffle/polyglot/PolyglotManagement$ProfilingNode;
            0    7     1         frame  Lcom/oracle/truffle/api/frame/VirtualFrame;
            0    7     2  inputContext  Lcom/oracle/truffle/api/instrumentation/EventContext;
            0    7     3    inputIndex  I
            0    7     4    inputValue  Ljava/lang/Object;
    MethodParameters:
              Name  Flags
      frame         
      inputContext  
      inputIndex    
      inputValue    

  protected void onReturnValue(com.oracle.truffle.api.frame.VirtualFrame, java.lang.Object);
    descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
        start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
        start local 2 // java.lang.Object result
         0: .line 378
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.onReturn:Ljava/util/function/Consumer;
            ifnull 15
         1: .line 380
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectReturnValues:Z
            ifeq 4
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenReturnValue:Z
            ifne 4
            aload 2 /* result */
            ifnull 4
         2: .line 381
            invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
         3: .line 382
            aload 0 /* this */
            iconst_1
            putfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenReturnValue:Z
         4: .line 384
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenReturnValue:Z
            ifne 5
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenInputValues:Z
            ifeq 11
         5: .line 386
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenInputValues:Z
            ifeq 8
         6: .line 387
            aload 0 /* this */
            aload 1 /* frame */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.getSavedInputValues:(Lcom/oracle/truffle/api/frame/VirtualFrame;)[Ljava/lang/Object;
            astore 3 /* inputValues */
        start local 3 // java.lang.Object[] inputValues
         7: .line 388
            goto 9
        end local 3 // java.lang.Object[] inputValues
         8: .line 389
      StackMap locals:
      StackMap stack:
            getstatic com.oracle.truffle.polyglot.PolyglotManagement.EMPTY_ARRAY:[Ljava/lang/Object;
            astore 3 /* inputValues */
        start local 3 // java.lang.Object[] inputValues
         9: .line 391
      StackMap locals: java.lang.Object[]
      StackMap stack:
            aload 0 /* this */
            aload 3 /* inputValues */
            aload 2 /* result */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.invokeReturnAllocate:([Ljava/lang/Object;Ljava/lang/Object;)V
        end local 3 // java.lang.Object[] inputValues
        10: .line 392
            goto 15
        11: .line 393
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.invokeReturn:()V
        12: .line 395
            goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 3 /* t */
        start local 3 // java.lang.Throwable t
        14: .line 396
            aload 0 /* this */
            aload 3 /* t */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.wrapHostError:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
            athrow
        end local 3 // java.lang.Throwable t
        15: .line 399
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Object result
        end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
        end local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   16     0         this  Lcom/oracle/truffle/polyglot/PolyglotManagement$ProfilingNode;
            0   16     1        frame  Lcom/oracle/truffle/api/frame/VirtualFrame;
            0   16     2       result  Ljava/lang/Object;
            7    8     3  inputValues  [Ljava/lang/Object;
            9   10     3  inputValues  [Ljava/lang/Object;
           14   15     3            t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1    12      13  Class java.lang.Throwable
    MethodParameters:
        Name  Flags
      frame   
      result  

  protected void onReturnExceptional(com.oracle.truffle.api.frame.VirtualFrame, java.lang.Throwable);
    descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Throwable;)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
        start local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
        start local 2 // java.lang.Throwable exception
         0: .line 403
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.onReturn:Ljava/util/function/Consumer;
            ifnull 17
         1: .line 405
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenReturnValue:Z
            ifne 2
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenInputValues:Z
            ifeq 8
         2: .line 407
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.seenInputValues:Z
            ifeq 5
         3: .line 408
            aload 0 /* this */
            aload 1 /* frame */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.getSavedInputValues:(Lcom/oracle/truffle/api/frame/VirtualFrame;)[Ljava/lang/Object;
            astore 3 /* inputValues */
        start local 3 // java.lang.Object[] inputValues
         4: .line 409
            goto 6
        end local 3 // java.lang.Object[] inputValues
         5: .line 410
      StackMap locals:
      StackMap stack:
            getstatic com.oracle.truffle.polyglot.PolyglotManagement.EMPTY_ARRAY:[Ljava/lang/Object;
            astore 3 /* inputValues */
        start local 3 // java.lang.Object[] inputValues
         6: .line 412
      StackMap locals: java.lang.Object[]
      StackMap stack:
            aload 0 /* this */
            aload 3 /* inputValues */
            aload 2 /* exception */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.invokeExceptionAllocate:([Ljava/lang/Object;Ljava/lang/Throwable;)V
        end local 3 // java.lang.Object[] inputValues
         7: .line 413
            goto 17
      StackMap locals:
      StackMap stack:
         8: aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectExceptions:Z
            ifeq 13
         9: .line 414
            aload 0 /* this */
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectInputValues:Z
            ifeq 10
            getstatic com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList.EMPTY:Lcom/oracle/truffle/polyglot/PolyglotManagement$ReadOnlyValueList;
            goto 11
      StackMap locals:
      StackMap stack: com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode
        10: aconst_null
      StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode com.oracle.truffle.api.frame.VirtualFrame java.lang.Throwable
      StackMap stack: com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList
        11: aload 2 /* exception */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.invokeExceptionAllocate:(Ljava/util/List;Ljava/lang/Throwable;)V
        12: .line 415
            goto 17
        13: .line 416
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.invokeException:()V
        14: .line 418
            goto 17
      StackMap locals:
      StackMap stack: java.lang.Throwable
        15: astore 3 /* t */
        start local 3 // java.lang.Throwable t
        16: .line 419
            aload 0 /* this */
            aload 3 /* t */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.wrapHostError:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
            athrow
        end local 3 // java.lang.Throwable t
        17: .line 422
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Throwable exception
        end local 1 // com.oracle.truffle.api.frame.VirtualFrame frame
        end local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   18     0         this  Lcom/oracle/truffle/polyglot/PolyglotManagement$ProfilingNode;
            0   18     1        frame  Lcom/oracle/truffle/api/frame/VirtualFrame;
            0   18     2    exception  Ljava/lang/Throwable;
            4    5     3  inputValues  [Ljava/lang/Object;
            6    7     3  inputValues  [Ljava/lang/Object;
           16   17     3            t  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           1    14      15  Class java.lang.Throwable
    MethodParameters:
           Name  Flags
      frame      
      exception  

  private void invokeExceptionAllocate(java.lang.Object[], java.lang.Throwable);
    descriptor: ([Ljava/lang/Object;Ljava/lang/Throwable;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=10, args_size=3
        start local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
        start local 1 // java.lang.Object[] inputValues
        start local 2 // java.lang.Throwable result
         0: .line 426
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectExceptions:Z
            istore 3 /* reportException */
        start local 3 // boolean reportException
         1: .line 427
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectInputValues:Z
            ifeq 2
            aload 1 /* inputValues */
            arraylength
            ifle 2
            iconst_1
            goto 3
      StackMap locals: int
      StackMap stack:
         2: iconst_0
      StackMap locals:
      StackMap stack: int
         3: istore 4 /* reportInputValues */
        start local 4 // boolean reportInputValues
         4: .line 429
            iload 3 /* reportException */
            ifne 7
            iload 4 /* reportInputValues */
            ifne 7
         5: .line 430
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.invokeException:()V
         6: .line 431
            return
         7: .line 433
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguage.getCurrentLanguageContext:()Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            astore 5 /* languageContext */
        start local 5 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
         8: .line 435
            iload 4 /* reportInputValues */
            ifeq 21
         9: .line 436
            aload 1 /* inputValues */
            arraylength
            anewarray org.graalvm.polyglot.Value
            astore 7 /* hostValues */
        start local 7 // org.graalvm.polyglot.Value[] hostValues
        10: .line 437
            iconst_0
            istore 8 /* i */
        start local 8 // int i
        11: goto 18
        12: .line 438
      StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode java.lang.Object[] java.lang.Throwable int int com.oracle.truffle.polyglot.PolyglotLanguageContext top org.graalvm.polyglot.Value[] int
      StackMap stack:
            aload 1 /* inputValues */
            iload 8 /* i */
            aaload
            astore 9 /* guestValue */
        start local 9 // java.lang.Object guestValue
        13: .line 439
            aload 9 /* guestValue */
            ifnull 16
        14: .line 440
            aload 7 /* hostValues */
            iload 8 /* i */
            aload 5 /* languageContext */
            aload 1 /* inputValues */
            iload 8 /* i */
            aaload
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            aastore
        15: .line 441
            goto 17
        16: .line 442
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 7 /* hostValues */
            iload 8 /* i */
            aconst_null
            aastore
        end local 9 // java.lang.Object guestValue
        17: .line 437
      StackMap locals:
      StackMap stack:
            iinc 8 /* i */ 1
      StackMap locals:
      StackMap stack:
        18: iload 8 /* i */
            aload 1 /* inputValues */
            arraylength
            if_icmplt 12
        end local 8 // int i
        19: .line 445
            new com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList
            dup
            aload 7 /* hostValues */
            invokespecial com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList.<init>:([Lorg/graalvm/polyglot/Value;)V
            astore 6 /* convertedInputValues */
        end local 7 // org.graalvm.polyglot.Value[] hostValues
        start local 6 // com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList convertedInputValues
        20: .line 446
            goto 22
        end local 6 // com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList convertedInputValues
        21: .line 447
      StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode java.lang.Object[] java.lang.Throwable int int com.oracle.truffle.polyglot.PolyglotLanguageContext
      StackMap stack:
            getstatic com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList.EMPTY:Lcom/oracle/truffle/polyglot/PolyglotManagement$ReadOnlyValueList;
            astore 6 /* convertedInputValues */
        start local 6 // com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList convertedInputValues
        22: .line 449
      StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList
      StackMap stack:
            aload 0 /* this */
            aload 6 /* convertedInputValues */
            aload 2 /* result */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.invokeExceptionAllocate:(Ljava/util/List;Ljava/lang/Throwable;)V
        end local 6 // com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList convertedInputValues
        end local 5 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        23: .line 451
            return
        end local 4 // boolean reportInputValues
        end local 3 // boolean reportException
        end local 2 // java.lang.Throwable result
        end local 1 // java.lang.Object[] inputValues
        end local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   24     0                  this  Lcom/oracle/truffle/polyglot/PolyglotManagement$ProfilingNode;
            0   24     1           inputValues  [Ljava/lang/Object;
            0   24     2                result  Ljava/lang/Throwable;
            1   24     3       reportException  Z
            4   24     4     reportInputValues  Z
            8   23     5       languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
           20   21     6  convertedInputValues  Lcom/oracle/truffle/polyglot/PolyglotManagement$ReadOnlyValueList;
           22   23     6  convertedInputValues  Lcom/oracle/truffle/polyglot/PolyglotManagement$ReadOnlyValueList;
           10   20     7            hostValues  [Lorg/graalvm/polyglot/Value;
           11   19     8                     i  I
           13   17     9            guestValue  Ljava/lang/Object;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
             Name  Flags
      inputValues  
      result       

  private void invokeReturnAllocate(java.lang.Object[], java.lang.Object);
    descriptor: ([Ljava/lang/Object;Ljava/lang/Object;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=8, args_size=3
        start local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
        start local 1 // java.lang.Object[] inputValues
        start local 2 // java.lang.Object result
         0: .line 455
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectReturnValues:Z
            ifeq 1
            aload 2 /* result */
            ifnull 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: istore 3 /* reportResult */
        start local 3 // boolean reportResult
         3: .line 456
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.collectInputValues:Z
            ifeq 4
            aload 1 /* inputValues */
            arraylength
            ifle 4
            iconst_1
            goto 5
      StackMap locals: int
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: istore 4 /* reportInputValues */
        start local 4 // boolean reportInputValues
         6: .line 458
            iload 3 /* reportResult */
            ifne 9
            iload 4 /* reportInputValues */
            ifne 9
         7: .line 459
            aload 0 /* this */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.invokeReturn:()V
         8: .line 460
            return
         9: .line 462
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguage.getCurrentLanguageContext:()Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            astore 5 /* languageContext */
        start local 5 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        10: .line 464
            iload 3 /* reportResult */
            ifeq 13
        11: .line 465
            aload 5 /* languageContext */
            aload 2 /* result */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.asValue:(Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            astore 6 /* returnValue */
        start local 6 // org.graalvm.polyglot.Value returnValue
        12: .line 466
            goto 14
        end local 6 // org.graalvm.polyglot.Value returnValue
        13: .line 467
      StackMap locals: com.oracle.truffle.polyglot.PolyglotLanguageContext
      StackMap stack:
            aconst_null
            astore 6 /* returnValue */
        start local 6 // org.graalvm.polyglot.Value returnValue
        14: .line 471
      StackMap locals: org.graalvm.polyglot.Value
      StackMap stack:
            iload 4 /* reportInputValues */
            ifeq 17
        15: .line 472
            new com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList
            dup
            aload 5 /* languageContext */
            aload 1 /* inputValues */
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguageContext.toHostValues:([Ljava/lang/Object;)[Lorg/graalvm/polyglot/Value;
            invokespecial com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList.<init>:([Lorg/graalvm/polyglot/Value;)V
            astore 7 /* convertedInputValues */
        start local 7 // com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList convertedInputValues
        16: .line 473
            goto 18
        end local 7 // com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList convertedInputValues
        17: .line 474
      StackMap locals:
      StackMap stack:
            getstatic com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList.EMPTY:Lcom/oracle/truffle/polyglot/PolyglotManagement$ReadOnlyValueList;
            astore 7 /* convertedInputValues */
        start local 7 // com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList convertedInputValues
        18: .line 476
      StackMap locals: com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList
      StackMap stack:
            aload 0 /* this */
            aload 7 /* convertedInputValues */
            aload 6 /* returnValue */
            invokevirtual com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.invokeReturnAllocate:(Ljava/util/List;Lorg/graalvm/polyglot/Value;)V
        end local 7 // com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList convertedInputValues
        end local 6 // org.graalvm.polyglot.Value returnValue
        end local 5 // com.oracle.truffle.polyglot.PolyglotLanguageContext languageContext
        19: .line 478
            return
        end local 4 // boolean reportInputValues
        end local 3 // boolean reportResult
        end local 2 // java.lang.Object result
        end local 1 // java.lang.Object[] inputValues
        end local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   20     0                  this  Lcom/oracle/truffle/polyglot/PolyglotManagement$ProfilingNode;
            0   20     1           inputValues  [Ljava/lang/Object;
            0   20     2                result  Ljava/lang/Object;
            3   20     3          reportResult  Z
            6   20     4     reportInputValues  Z
           10   19     5       languageContext  Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
           12   13     6           returnValue  Lorg/graalvm/polyglot/Value;
           14   19     6           returnValue  Lorg/graalvm/polyglot/Value;
           16   17     7  convertedInputValues  Lcom/oracle/truffle/polyglot/PolyglotManagement$ReadOnlyValueList;
           18   19     7  convertedInputValues  Lcom/oracle/truffle/polyglot/PolyglotManagement$ReadOnlyValueList;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
             Name  Flags
      inputValues  
      result       

  protected final void invokeExceptionAllocate(java.util.List<org.graalvm.polyglot.Value>, java.lang.Throwable);
    descriptor: (Ljava/util/List;Ljava/lang/Throwable;)V
    flags: (0x0014) ACC_PROTECTED, ACC_FINAL
    Code:
      stack=8, locals=4, args_size=3
        start local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
        start local 1 // java.util.List inputValues
        start local 2 // java.lang.Throwable e
         0: .line 482
            aload 2 /* e */
            ifnull 1
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.language:Lcom/oracle/truffle/polyglot/PolyglotLanguage;
            invokevirtual com.oracle.truffle.polyglot.PolyglotLanguage.getCurrentLanguageContext:()Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;
            aload 2 /* e */
            iconst_1
            invokestatic com.oracle.truffle.polyglot.PolyglotImpl.guestToHostException:(Lcom/oracle/truffle/polyglot/PolyglotLanguageContext;Ljava/lang/Throwable;Z)Lorg/graalvm/polyglot/PolyglotException;
            goto 2
      StackMap locals:
      StackMap stack:
         1: aconst_null
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         2: astore 3 /* ex */
        start local 3 // org.graalvm.polyglot.PolyglotException ex
         3: .line 483
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.onReturn:Ljava/util/function/Consumer;
            aload 0 /* this */
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode.config:Lcom/oracle/truffle/polyglot/PolyglotManagement$ListenerImpl;
            getfield com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl.management:Lorg/graalvm/polyglot/impl/AbstractPolyglotImpl$ManagementAccess;
            new com.oracle.truffle.polyglot.PolyglotManagement$DynamicEvent
            dup
            aload 0 /* this */
            aload 1 /* inputValues */
            aconst_null
            aload 3 /* ex */
            invokespecial com.oracle.truffle.polyglot.PolyglotManagement$DynamicEvent.<init>:(Lcom/oracle/truffle/polyglot/PolyglotManagement$AbstractNode;Ljava/util/List;Lorg/graalvm/polyglot/Value;Lorg/graalvm/polyglot/PolyglotException;)V
            invokevirtual org.graalvm.polyglot.impl.AbstractPolyglotImpl$ManagementAccess.newExecutionEvent:(Ljava/lang/Object;)Lorg/graalvm/polyglot/management/ExecutionEvent;
            invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
         4: .line 484
            return
        end local 3 // org.graalvm.polyglot.PolyglotException ex
        end local 2 // java.lang.Throwable e
        end local 1 // java.util.List inputValues
        end local 0 // com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lcom/oracle/truffle/polyglot/PolyglotManagement$ProfilingNode;
            0    5     1  inputValues  Ljava/util/List<Lorg/graalvm/polyglot/Value;>;
            0    5     2            e  Ljava/lang/Throwable;
            3    5     3           ex  Lorg/graalvm/polyglot/PolyglotException;
    Signature: (Ljava/util/List<Lorg/graalvm/polyglot/Value;>;Ljava/lang/Throwable;)V
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary(allowInlining = true)
    MethodParameters:
             Name  Flags
      inputValues  
      e            
}
SourceFile: "PolyglotManagement.java"
NestHost: com.oracle.truffle.polyglot.PolyglotManagement
InnerClasses:
  public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
  public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
  abstract AbstractNode = com.oracle.truffle.polyglot.PolyglotManagement$AbstractNode of com.oracle.truffle.polyglot.PolyglotManagement
  final DynamicEvent = com.oracle.truffle.polyglot.PolyglotManagement$DynamicEvent of com.oracle.truffle.polyglot.PolyglotManagement
  abstract Event = com.oracle.truffle.polyglot.PolyglotManagement$Event of com.oracle.truffle.polyglot.PolyglotManagement
  ListenerImpl = com.oracle.truffle.polyglot.PolyglotManagement$ListenerImpl of com.oracle.truffle.polyglot.PolyglotManagement
  ProfilingNode = com.oracle.truffle.polyglot.PolyglotManagement$ProfilingNode of com.oracle.truffle.polyglot.PolyglotManagement
  ReadOnlyValueList = com.oracle.truffle.polyglot.PolyglotManagement$ReadOnlyValueList of com.oracle.truffle.polyglot.PolyglotManagement
  public abstract ManagementAccess = org.graalvm.polyglot.impl.AbstractPolyglotImpl$ManagementAccess of org.graalvm.polyglot.impl.AbstractPolyglotImpl