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

Clean up CallStaticJavaNode EA flags

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b23

      Description

      These two fields are reported as only written to, but not read from anywhere:

      class CallStaticJavaNode : public CallJavaNode {
        ...
        // Result of Escape Analysis
        bool _is_scalar_replaceable;
        bool _is_non_escaping;
      }

      There are accesses to AllocNode::{_is_scalar_replaceable,_is_non_escaping}, but not to CallStaticJavaNode.
      This is either a bug, or more likely a leftover from EliminateAutoBox work, as these fields were introduced by JDK-6934604.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xliu Xin Liu
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: