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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • 17
    • hotspot
    • b12
    • generic
    • generic

      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.

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

              Created:
              Updated:
              Resolved: