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

C2: gc interface entry point for split if

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 12
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22

      Description

      diff --git a/src/hotspot/share/opto/loopopts.cpp b/src/hotspot/share/opto/loopopts.cpp
      --- a/src/hotspot/share/opto/loopopts.cpp
      +++ b/src/hotspot/share/opto/loopopts.cpp
      @@ -887,6 +887,11 @@
       // Do the real work in a non-recursive function. Data nodes want to be
       // cloned in the pre-order so they can feed each other nicely.
       Node *PhaseIdealLoop::split_if_with_blocks_pre( Node *n ) {
      + BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
      + Node* bs_res = bs->split_if_pre(this, n);
      + if (bs_res != NULL) {
      + return bs_res;
      + }
         // Cloning these guys is unlikely to win
         int n_op = n->Opcode();
         if( n_op == Op_MergeMem ) return n;

        Attachments

          Activity

            People

            • Assignee:
              roland Roland Westrelin
              Reporter:
              roland Roland Westrelin
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: