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

Escape analysis dump misses args information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • b55

        Executing the VM with -XX:+PrintEscapeAnalysis -XX:BCEATraceLevel=3 leads to the following output:

        [EA] estimated escape information for java.lang.RuntimeException::<init>
             non-escaping args: AllocatedObj(0x00007fb46c0da6c0)
             stack-allocatable args: AllocatedObj(0x00007fb46c0da6f0)
             return non-local value
             modified args: 0x1c 0
             flags: unknown_modified

        The lines about non-escaping and stack-allocatable args contain "AllocatedObj" addresses instead of the content of the corresponding VectorSets. The problem is in 'BCEscapeAnalyzer::dump()' where 'print_on' is called on VectorSet instead of 'print'.

              thartmann Tobias Hartmann
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: