C2: implement removal of empty long counted loop

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: 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.

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

              Created:
              Updated: