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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 16
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      jfr
    • Introduced In Version:
      15
    • Resolved In Build:
      b07

      Description

      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;
      ....

        Attachments

          Activity

            People

            • Assignee:
              cito Chihiro Ito
              Reporter:
              cito Chihiro Ito
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: