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

Increase default value of MaxInlineLevel

    Details

    • Type: CSR
    • Status: Closed
    • Priority: P3
    • Resolution: Withdrawn
    • Fix Version/s: 11-pool
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Compatibility Kind:
      behavioral
    • Compatibility Risk:
      minimal
    • Compatibility Risk Description:
      Hide
      Increasing the limit carries 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.
      No downside or reliability issues have been reported after six months of production use at Amazon.
      Show
      Increasing the limit carries 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. No downside or reliability issues have been reported after six months of production use at Amazon.
    • Interface Kind:
      add/remove/modify command line option
    • Scope:
      Implementation

      Description

      This is the 11u backport CSR corresponding to JDK-8235336, which latter is the CSR for JDK-8234863. There are no changes to either the specification or implementation.

      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:
                phh Paul Hohensee
                Reporter:
                redestad Claes Redestad
                Reviewed By:
                Christoph Langer, Volker Simonis
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: