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

Increase default value of MaxInlineLevel

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Withdrawn
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      low
    • Compatibility Risk Description:
      Hide
      Increasing the limit carry some risk that some applications will spend more time in JIT compilers and/or generate code that is either larger and/or perform less optimally. Internal performance testing indicate that the change is either neutral or significantly positive, while regressions have been hard to provoke.
      Show
      Increasing the limit carry some risk that some applications will spend more time in JIT compilers and/or generate code that is either larger and/or perform less optimally. Internal performance testing indicate that the change is either neutral or significantly positive, while regressions have been hard to provoke.
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      Implementation

      Description

      Summary

      Increase the default value of the MaxInlineLevel flag to 15.

      Problem

      Multiple parties have reported that increasing the MaxInlineLevel flag has significant performance impact on real world application. This is corroborated by results on benchmarks in the Renaissance[1] benchmark suite, where increasing the inlining depth limit improves some subscores by up to 3x.

      Solution

      Increase the default value of the MaxInlineLevel flag to 15.

      Specification

      Increase the default value of the MaxInlineLevel flag to 15.

      [1] https://renaissance.dev/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                redestad Claes Redestad
                Reporter:
                redestad Claes Redestad
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: