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

Refine identical code in AddI/LNode.

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 17, 18
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b27
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        For the same node with different type, there may have some identical code. E.g.
        AddINode::Ideal https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/addnode.cpp#L252
        AddLNode::Ideal https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/addnode.cpp#L399

        It would be good to have it in a shared method.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                roland Roland Westrelin
                Reporter:
                eliu Eric Liu
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: