Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8249720

Generated bytecodes of EventWriter don't be output to the log

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 15
    • hotspot
    • jfr
    • 15
    • b07

      When JFR starts with "-Xlog:jfr+system+bytecode=trace", logs like as following are output. But current implementation doesn't output it.

      [0.537s][trace][jfr,system,bytecode] Bytecode:
      // class version 52.0 (52)
      // access flags 0x31
      public final class jdk/jfr/internal/handlers/EventHandler1426_1595136821106-144576 extends jdk/jfr/internal/handlers/EventHandler {


        // access flags 0x12
        private final Ljdk/jfr/internal/StringPool; stringPool2

        // access flags 0x12
        private final Ljdk/jfr/internal/StringPool; stringPool3

        // access flags 0x12
        private final Ljdk/jfr/internal/StringPool; stringPool4

        // access flags 0x12
        private final Ljdk/jfr/internal/StringPool; stringPool5

        // access flags 0x12
        private final Ljdk/jfr/internal/StringPool; stringPool6

        // access flags 0x2
        private <init>(ZLjdk/jfr/EventType;Ljdk/jfr/internal/EventControl;)V
          ALOAD 0
          ILOAD 1
          ALOAD 2
          ALOAD 3
          INVOKESPECIAL jdk/jfr/internal/handlers/EventHandler.<init> (ZLjdk/jfr/EventType;Ljdk/jfr/internal/EventControl;)V
          ALOAD 0
          ALOAD 0
          INVOKEVIRTUAL jdk/jfr/internal/handlers/EventHandler.createStringFieldWriter ()Ljdk/jfr/internal/StringPool;
      ....

            cito Chihiro Ito
            cito Chihiro Ito
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: