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

IfNode::dominated_by() and PhaseIdealLoop::dominated_by() don't match

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8, 11, 17, 18
    • hotspot

      PhaseIdealLoop::dominated_by() has this logic:

      if (exclude_loop_predicate && (unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_predicate) != NULL ||
          unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_profile_predicate) != NULL ||
          unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_range_check) != NULL)) {

      while IfNode::dominated_by() has:

      if (unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_predicate) != NULL ||
          unc_proj->is_uncommon_trap_proj(Deoptimization::Reason_profile_predicate) != NULL) {

      The 2 should match I think.

            roland Roland Westrelin
            roland Roland Westrelin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: