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

Shenandoah: Cleanup LRB strength selector code

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8-shenandoah, 11-shenandoah, 13, 14
    • Fix Version/s: 14
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b10

      Description

      Current code in ShenandoahLoadReferenceBarrierNode::get_barrier_strength selects the LRB strength based on observed nodes. It needs some cleanups:
       - No need for WEAK strength, as it is not handled anywhere.
       - Default case need to print node name into failure message, so it is available in hs_err
       - Nodes should be grouped together by class

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: