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

C2: implement removal of empty long counted loop

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 26
    • hotspot
    • None

      IdealLoopTree::do_remove_empty_loop() is only implemented for in counted loop. One challenge is that the exact limit needs to be computed which, in the general case, requires a LoopLimitNode to be created. The LoopLimitNode implementation relies on promotion from int to long to guarantee no overflow so it cannot be reuse as is.

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

              Created:
              Updated: