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);

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/d1034bd8cefc
          User: roland
          Date: 2013-08-08 00:26:49 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/hsx/hotspot-comp/hotspot/rev/d1034bd8cefc User: roland Date: 2013-08-08 00:26:49 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/d1034bd8cefc
          User: amurillo
          Date: 2013-08-16 14:58:16 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/hsx/hsx25/hotspot/rev/d1034bd8cefc User: amurillo Date: 2013-08-16 14:58:16 +0000

            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: