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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 17
    • hotspot
    • b12
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: