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

Increase upper limit of LoopOptsCount flag

XMLWordPrintable

    • Icon: CSR CSR
    • Resolution: Approved
    • Icon: P4 P4
    • 24
    • hotspot
    • minimal
    • Default value stays the same. Using higher values could potentially results in longer C2 run-time but better optimized code.
    • add/remove/modify command line option
    • JDK

      Summary

      Increase upper limit of the LoopOptsCount flag

      Problem

      Currently LoopOptsCount has to be an integer in the range 5-43. With default value being 43. Especially for testing the user should be able to use values larger than 43.

      Solution

      Increase upper limit of the LoopOptsCount flag from 43 to max_jint. Keep the default value as 43

      Specification

      In shared/opto/c2_globals.hpp change allowed flag value range to:

        product(intx, LoopOptsCount, 43,                                          \
                "Set level of loop optimization for tier 1 compiles")             \
                range(5, max_jint)   

            tholenstein Tobias Holenstein
            tholenstein Tobias Holenstein
            Vladimir Kozlov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: