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

Clean up CallStaticJavaNode EA flags

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • hotspot
    • b23

      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.

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

              Created:
              Updated:
              Resolved: