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

Add Tests to verify single iteration loops are properly optimized

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 17
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:

      Description

      Came up during review of JDK-8261308:

      "would be nice to have tests for 0,1,2 iterations and all 3 types of loops: for() {}, while() {}, do {} while() to verify that they are converted to straight code."

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: