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: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17, 18, 19
    • Fix Version/s: 19
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10

      Backports

        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:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: