Increase upper limit of LoopOptsCount flag

XMLWordPrintable

    • Type: CSR
    • Resolution: Approved
    • Priority: P4
    • 24
    • Component/s: 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)   
      

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

              Created:
              Updated:
              Resolved: