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

TypeInstPtr::dump2() emits multiple lines if Verbose is set

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b12
    • CPU:
      generic
    • OS:
      generic

      Description

      eg. dumping() a ConPNode emits 4 lines:
       689 ConP === 0 [[ 821 ]] Oop:java/lang/Stringjava.lang.String
       {0x000000010159d7c8} - klass: public final synchronized 'java/lang/String'
       - string: "a"
       Constant:exact *

      I use a bash script to sort the outputs of C->root()->dump(99999). I assume each node takes one line. it's problematic with -XX:+Verbose.

      Another issue is that it shows java/lang/String twice after oop. it's kinda redundant.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xliu Xin Liu
              Reporter:
              xliu Xin Liu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: