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

Better diagnostic header for CodeBlobs

XMLWordPrintable

    • b16

        I realized that JMH perfasm misses some CodeBlobs, notably C1 RuntimeBlobs. While amending perfasm to capture those, I discovered the header printout for those blobs is not as convenient as for others. Notably, perfasm would like to know where the stub code ends.

        ```
        # Good:
        StubRoutines::sha512_implCompressMB [0x0000000117da2d80, 0x0000000117da3528] (1960 bytes)

        # Bad:
        Decoding RuntimeStub - _complete_monitor_locking_Java 0x0000000117e4fd10
        ```

        Would like to instead print something like:

        ```
        Decoding RuntimeStub - _complete_monitor_locking_Java 0x0000000114203110 [0x00000001142031c0, 0x0000000114203258] (152 bytes)
        ```

              shade Aleksey Shipilev
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: