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

Hide internal data structure in PhaseCFG

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: hs25
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b46

      Backports

        Description

        The mapping from node to block stored in PhaseCFG is used as this:
        // mapping
        cfg->_bbs.map(node->_idx, block);
        // fetch block
        cfg->_bbs[node->_idx];

        Cleaning this up with public methods:
        // mapping
        cfg->map_node_to_block(node, block);
        // fetch block
        cfg->get_block_for_node(node);

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adlertz Niclas Adlertz (Inactive)
                  Reporter:
                  adlertz Niclas Adlertz (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: