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

Clean up CallStaticJavaNode EA flags

    Details

    • Type: Enhancement
    • Status: In Progress
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Subcomponent:
    • Understanding:
      Fix Understood

      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:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: