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

Increase default value of MaxInlineLevel

XMLWordPrintable

    • behavioral
    • minimal
    • 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.
    • add/remove/modify command line option
    • Implementation

      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/

            phh Paul Hohensee
            redestad Claes Redestad
            Christoph Langer, Volker Simonis
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: